summaryrefslogtreecommitdiff
path: root/.local/bin/screensaver
blob: 7ae5ca7db43886271b95010f230e71804210017f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

xset -dpms 
xset s off

xidlehook \
    --detect-sleep --not-when-audio --not-when-fullscreen \
    --timer 600 'xset s activate' '' \
    --timer 600 'systemctl suspend' '' &