initial commit - add files
This commit is contained in:
14
.config/fish/functions/tp.fish
Normal file
14
.config/fish/functions/tp.fish
Normal file
@ -0,0 +1,14 @@
|
||||
function tp
|
||||
if test $touchpadEnabled = 1
|
||||
set touchpadEnabled 0
|
||||
echo Disabled Trackpad
|
||||
xinput disable "Atmel maXTouch Touchpad"
|
||||
unclutter --timeout 0 &
|
||||
else
|
||||
set touchpadEnabled 1
|
||||
echo Enabled Trackpad
|
||||
xinput enable "Atmel maXTouch Touchpad"
|
||||
kill (jobs -c | grep unclutter) 2>/dev/null
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user