1
0
Fork 0

feat(sway): increase swayidle timeouts

This commit is contained in:
Oliver Ladner 2025-11-04 17:34:38 +01:00
commit 77b655774c

View file

@ -39,7 +39,7 @@ set {
# border background text indicator childborder
client.focused $bg $bg $text $active $active
output * bg ~/data/local/wallpaper/kat-closon-hZX4tYgljUI-unsplash.jpg fill
output * bg ~/data/local/wallpaper/anders-jilden-AkUR27wtaxs-unsplash.jpg fill
# output HDMI-A-1 resolution 1920x1080 position 1920,0
# You can get the names of your outputs by running: swaymsg -t get_outputs
@ -50,8 +50,8 @@ exec_always autotiling
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 330 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 600 'swaylock -f -c 000000' \
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
# Clipboard manager