sway{idle,lock}: init

This commit is contained in:
Josh Lay 2024-06-20 08:10:53 -05:00
parent f3093ba7cd
commit 4d1e48014b
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
2 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,4 @@
timeout 1800 '${HOME}/.config/sway/scripts/locker.py'
timeout 1805 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on; exec ${HOME}/.config/sway/scripts/fix_primary_monitor.py"'
before-sleep 'playerctl pause'
before-sleep 'swaylock'