summaryrefslogtreecommitdiff
path: root/.local/bin/screensaver
blob: 7b25bf9b45e5c68889806c6ccfed892de9bdabfc (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 300 'betterlockscreen -l' '' \
    --timer 300 'systemctl suspend' '' &