diff --git a/common/.local/libexec/dwm/togtouchpad b/common/.local/libexec/dwm/togtouchpad index 9358b6ed..272e751f 100755 --- a/common/.local/libexec/dwm/togtouchpad +++ b/common/.local/libexec/dwm/togtouchpad @@ -3,10 +3,10 @@ TPdevice=$(xinput | sed -nre '/TouchPad|Touchpad/s/.*id=([0-9]*).*/\1/p') off() { - xinput disable "$TPdevice" && notify-send -h string:x-dunst-stack-tag:"togtp" "Touchpad Disabled" -i input-touchpad-off + xinput disable "$TPdevice" && notify-send -h string:x-dunst-stack-tag:"togtouchpad" "Touchpad Disabled" -i input-touchpad-off } on() { - xinput enable "$TPdevice" && notify-send -h string:x-dunst-stack-tag:"togtp" "Touchpad Enabled" -i input-touchpad-on + xinput enable "$TPdevice" && notify-send -h string:x-dunst-stack-tag:"togtouchpad" "Touchpad Enabled" -i input-touchpad-on } [ "$1" = "-n" ] && {