Removed duplicate files

This commit is contained in:
Christian Colglazier 2019-09-25 17:52:24 -04:00
parent 975cf91c1c
commit 376e0d1303
2 changed files with 0 additions and 41 deletions

View File

@ -1,8 +0,0 @@
#! /bin/bash
# Load user settings from config file.
. ~/.config/settings.conf
cat ~/.config/i3/shared.conf ~/.config/i3/${computer}.conf > ~/.config/i3/config
i3-msg reload

View File

@ -1,33 +0,0 @@
#!/bin/bash
# Get device id of Synaptics TrackPad
id=$(xinput list --id-only 'SynPS/2 Synaptics TouchPad')
# Enables TrackPad
trackpadEnable() {
xinput set-prop $id "Device Enabled" 1
exit
}
# Disables TrackPad
trackpadDisable() {
xinput set-prop $id "Device Enabled" 0
exit
}
# Checks for disable flag
if [ ! -z $1 ] && [ $1 == '-d' ]; then
echo flag worked
trackpadDisable
fi
# Convert to an arry
read -a trackPadState <<< "$(xinput --list-props $id | grep "Device Enabled")"
devEnabled=${devString_array[3]}
# Flip the state of the TrackPad
if [ ${trackPadState[3]} -eq 1 ]; then
trackpadDisable
else
trackpadEnable
fi