Pause media before screen lock
This commit is contained in:
parent
39a6ff8f58
commit
d648fca8d1
|
@ -15,6 +15,7 @@ exec swayidle -w \
|
||||||
timeout 600 'swaylock' \
|
timeout 600 'swaylock' \
|
||||||
timeout 1200 'swaymsg "output * dpms off"' \
|
timeout 1200 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'playerctl pause' \
|
||||||
before-sleep 'swaylock'
|
before-sleep 'swaylock'
|
||||||
|
|
||||||
# Custom script for VPN connection before XDG autostart applications
|
# Custom script for VPN connection before XDG autostart applications
|
||||||
|
|
Loading…
Reference in a new issue