summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/unclutter-toggle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-system/unclutter-toggle.sh')
-rw-r--r--abs/core-testing/LinHES-system/unclutter-toggle.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-system/unclutter-toggle.sh b/abs/core-testing/LinHES-system/unclutter-toggle.sh
index 0ead751..aadce50 100644
--- a/abs/core-testing/LinHES-system/unclutter-toggle.sh
+++ b/abs/core-testing/LinHES-system/unclutter-toggle.sh
@@ -1,8 +1,11 @@
#!/bin/bash
PIDUNC=`pidof unclutter`
+jitter=200
+idle=1
+. /etc/unclutter.cfg
if [ -n "${PIDUNC}" ];
then
killall -9 unclutter
else
- /usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents &
+ /usr/X11R6/bin/unclutter -root -idle $idle -jitter $jitter -noevents &
fi