1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

general updates

This commit is contained in:
tiynger
2019-09-11 12:11:37 +02:00
parent b7afbd8232
commit 002321c6bf
6 changed files with 37 additions and 140 deletions

View File

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