This commit is contained in:
2025-12-21 22:03:45 +01:00
parent fa8724f9af
commit 719014ab3d
3 changed files with 5 additions and 7 deletions

View File

@@ -101,6 +101,10 @@ exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
for_window [class=".*"] inhibit_idle fullscreen
for_window [app_id=".*"] inhibit_idle fullscreen
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when