feat(sway): configure swaylock
This commit is contained in:
parent
46e6cb1d87
commit
7fd477519a
|
@ -59,9 +59,11 @@ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
|||
|
||||
### Idle configuration
|
||||
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'
|
||||
timeout 300 'swaylock -f -i ~/.config/sway/wallpaper.png' \
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -i ~/.config/sway/wallpaper.png'
|
||||
|
||||
bindsym $mod+Escape exec swaylock -f -i ~/.config/sway/wallpaper.png
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue