5 lines
267 B
Bash
Executable file
5 lines
267 B
Bash
Executable file
swayidle -w timeout 300 '~/.config/hypr/scripts/lock.sh' \
|
|
timeout 600 'hyprctl dispatch dpms off' \
|
|
resume 'hyprctl dispatch dpms on' \
|
|
timeout 900 'systemctl suspend' \
|
|
before-sleep '~/.config/hypr/scripts/lock.sh' &
|