(sway) power off displays first and lock second [needs testing]
This commit is contained in:
@@ -37,8 +37,8 @@ bar {
|
||||
|
||||
# start screen locker
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png' \
|
||||
timeout 330 'swaymsg "output * power off"; systemctl suspend' \
|
||||
timeout 300 'swaymsg "output * power off"' \
|
||||
timeout 330 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png; systemctl suspend' \
|
||||
resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user