From c61d03602c2b80cf998282ee61a3d27b82d2d81d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 22 Feb 2013 11:16:12 +0100 Subject: toggle_touchpad: Offload to systemd user session service if enabled --- .scripts/toggle_touchpad.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.scripts') diff --git a/.scripts/toggle_touchpad.sh b/.scripts/toggle_touchpad.sh index 21e4e02..de781ab 100755 --- a/.scripts/toggle_touchpad.sh +++ b/.scripts/toggle_touchpad.sh @@ -1,5 +1,7 @@ #!/bin/bash +~/.scripts/toggle_user_unit.sh disable-touchpad.service && exit + which synclient &> /dev/null || exit exec synclient TouchpadOff=$((1-$(synclient | awk '/TouchpadOff/ { print $3 }'))) -- cgit