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

scripts: cleaned up scripts and refined volume script

This commit is contained in:
2023-10-13 23:24:38 +02:00
parent b14a6f31cb
commit a51b50849f
5 changed files with 15 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Toggle touchpad. Requires xf86-input-synaptics.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && notify-send "TouchPad reactivated." && exit
synclient TouchpadOff=1 && notify-send "TouchPad deactivated."