summaryrefslogtreecommitdiff
path: root/xidletog
blob: b5e996c6ba9e9df8ba9f4b1f0cfb5477d6a4ab00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/sh

if [ ! -f /tmp/xorg-awake ]; then
        touch /tmp/xorg-awake
        xset -dpms
        xset s off
else
        rm -rf /tmp/xorg-awake
        xset +dpms
        xset s on
fi

sigdwmb xidlechk