diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-21 22:25:20 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-21 22:25:20 (GMT) |
commit | 8cf4c240d609d3fe1ac5332c25217f636351e31a (patch) | |
tree | a592da62012e7469867dea21ee70698df4fec543 /abs/core-testing/LinHES-system/unclutter-toggle.sh | |
parent | d35e3624bb54c02a7488fd2e1501a2af3c5aaff6 (diff) | |
download | linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.zip linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.tar.gz linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.tar.bz2 |
linhes-system: set defaults for unclutter back to sane values for an appliance, for when the cfg file can not be found.
modify system to make use of /etc/unclutter.cfg
If the enduser doesn't like the default values they can safely make changes to /etc/unclutter.cfg
closes 660
ref 628
Diffstat (limited to 'abs/core-testing/LinHES-system/unclutter-toggle.sh')
-rw-r--r-- | abs/core-testing/LinHES-system/unclutter-toggle.sh | 5 |
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 |