ducksearch and toggletouch posix sh

This commit is contained in:
Luke Smith committed 2019-03-30 00:07:48 -04:00
1 parent 40084275f5
commit 4e97178df2
2 files changed
+4 -6

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Toggle touchpad. Requires xf86-input-synaptics.
(synclient | grep TouchpadOff.*1 && synclient TouchpadOff=0)>/dev/null && echo "TouchPad reactivated." && exit
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && echo "TouchPad reactivated." && exit
synclient TouchpadOff=1 && echo "TouchPad deactivated."