dotfiles/home/.config/swayidle/config

5 lines
211 B
Plaintext

timeout 300 "hyprctl dispatch dpms off && dunstctl set-paused true" resume "hyprctl dispatch dpms on && dunstctl set-paused false"
timeout 310 "loginctl lock-session"
before-sleep swaylock -fF
lock swaylock -fF