summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/unclutter-toggle.sh
blob: aadce50de0d9765feb2b867ccd4a26cc3161ea2f (plain)
1
2
3
4
5
6
7
8
9
10
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 $idle -jitter $jitter -noevents &
fi