Fix Sway idle configuration
This commit is contained in:
@@ -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
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
set $ exec bash ~/.config/sway/scripts/lockman.sh
|
set $lockman exec bash ~/.config/sway/scripts/lockman.sh
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f' \
|
timeout 300 'swaylock -f' \
|
||||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
|
|||||||
Reference in New Issue
Block a user