diff --git a/scripts/toggle_touchpad b/scripts/toggle_touchpad index 657f325..cdf6b12 100755 --- a/scripts/toggle_touchpad +++ b/scripts/toggle_touchpad @@ -6,6 +6,8 @@ state=$(xinput list-props "$device" | grep "Device Enabled" | grep -o "[01]$") if [ "$state" == "1" ];then xinput --disable "$device" + notify-send -u low "Toggled touchpad (disabled)" else xinput --enable "$device" + notify-send -u low "Toggled touchpad (enabled)" fi