2021-01-13 07:10:31 +00:00
|
|
|
# Define locker script
|
2024-08-29 08:16:09 +00:00
|
|
|
bindsym $alt+L exec 'swaylock'
|
2021-01-13 07:10:31 +00:00
|
|
|
|
|
|
|
# IDLE CONFIG
|
|
|
|
exec swayidle -w \
|
2024-08-29 08:16:09 +00:00
|
|
|
timeout 300 'swaylock' \
|
|
|
|
timeout 330 'swaymsg "output * dpms off"' \
|
|
|
|
resume 'swaymsg "output * dpms on"' \
|
2022-07-20 19:43:22 +00:00
|
|
|
timeout 600 'systemctl suspend' \
|
2024-08-29 08:16:09 +00:00
|
|
|
before-sleep 'swaylock; playerctl pause'
|