summaryrefslogtreecommitdiff
path: root/.local/bin/idle
blob: ae40ff3065e9c57b41bb22071a0255182e8ea6fb (plain)
1
2
3
4
5
6
#!/bin/sh

xidlehook \
  --detect-sleep --not-when-audio --not-when-fullscreen \
  --timer 300 'betterlockscreen -l' '' \
  --timer 60 'systemctl suspend' '' &