summaryrefslogtreecommitdiffstats
path: root/sxhkd/.local/bin/toggle-mouse
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2016-11-18 22:28:31 -0500
committerAmin Bandali <amin@aminb.org>2016-11-18 22:28:31 -0500
commit7791c200d9b385f722863cbaf2341dafffdb272f (patch)
treedcecb593622cd4aea06a27332f69b606226889d2 /sxhkd/.local/bin/toggle-mouse
parentb447fcc5a248329d10d995726822e6e001d9eec2 (diff)
downloadconfigs-7791c200d9b385f722863cbaf2341dafffdb272f.tar.gz
configs-7791c200d9b385f722863cbaf2341dafffdb272f.tar.xz
configs-7791c200d9b385f722863cbaf2341dafffdb272f.zip
Update bspwm & sxhkd dots
Diffstat (limited to 'sxhkd/.local/bin/toggle-mouse')
-rwxr-xr-xsxhkd/.local/bin/toggle-mouse11
1 files changed, 0 insertions, 11 deletions
diff --git a/sxhkd/.local/bin/toggle-mouse b/sxhkd/.local/bin/toggle-mouse
deleted file mode 100755
index 906fdbb..0000000
--- a/sxhkd/.local/bin/toggle-mouse
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-touchpad_off="$(synclient -l | grep TouchpadOff | cut -d'=' -f 2 | xargs)"
-
-if [ "$touchpad_off" = "0" ]; then
- synclient TouchpadOff=1
- unclutter -idle 1 &
-else
- synclient TouchpadOff=0
- killall unclutter
-fi