summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-02-25 13:56:38 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-02-25 13:56:38 +0400
commitd378d92d15e9805c62f5e3d05fcd91a9a42df071 (patch)
treecd2e79bf292531788984650ece3ace0199a2f4ec
parent9bde6918b632895bc2501a8565b8f28b2cb75f13 (diff)
scripts/sTouchpad dunst support added
-rwxr-xr-xsrc/scripts/sTouchpad4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/sTouchpad b/src/scripts/sTouchpad
index 7e2dbb5..87c0000 100755
--- a/src/scripts/sTouchpad
+++ b/src/scripts/sTouchpad
@@ -8,8 +8,8 @@ file=~/.cache/touchpad_on
if [ -f $file ];then
rm $file
- xinput disable "$(xinput list --name-only | grep Touchpad)"
+ xinput disable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Disabled
else
touch $file
- xinput enable "$(xinput list --name-only | grep Touchpad)"
+ xinput enable "$(xinput list --name-only | grep Touchpad)" && nsend Touchpad Enabled
fi