Fix Sway idle configuration

This commit is contained in:
Fabio Scotto di Santolo
2025-08-07 20:22:15 +02:00
parent 4d997f4ba9
commit e5aa781120

View File

@@ -50,7 +50,7 @@ output * bg ~/.config/sway/wallpaper.jpg fill
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
set $ exec bash ~/.config/sway/scripts/lockman.sh
set $lockman exec bash ~/.config/sway/scripts/lockman.sh
exec swayidle -w \
timeout 300 'swaylock -f' \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \