summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
269c287)
can disable the touchpad and hide the pointer
requires synclient for disabling the touchapd and
unclutter for hiding the mouse
XF86LaunchA
toggle-layout
XF86LaunchA
toggle-layout
+
+XF86LaunchB
+ toggle-mouse
--- /dev/null
+#!/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