summaryrefslogtreecommitdiff
path: root/xidletog
blob: 19ca5f94115f3cb58375597520825e62413f5744 (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

pkill -RTMIN+19 dwmblocks