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' \
|
2024-11-21 17:00:19 +00:00
|
|
|
timeout 330 'swaymsg "output * power off"' \
|
|
|
|
resume 'swaymsg "output * power 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'
|