did gridock lockscreen

This commit is contained in:
2024-11-01 22:04:41 +01:00
parent 3eda63e607
commit 5ab600de5c
4 changed files with 17 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
bindsym Mod4+Control+p exec swaylock -i ~/.config/sway/foxy.png --indicator-y-position 135
exec swayidle -w \
timeout 300 'swaylock -i ~/.config/sway/foxy.png --indicator-y-position 135' \
timeout 600 'swaymsg output * dpms off' \
resume 'swaymsg putput * dpms on' \
before-sleep 'swaylock -i ~/.config/sway/foxy.png --indicator-y-position 135'