swayidle: Only turn off display if swaylock is running
This commit is contained in:
parent
cb8ba13983
commit
427aa01c46
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ for_window [title="TrackMania"] inhibit_idle focus
|
|||
|
||||
exec pipewire
|
||||
exec pipewire-pulse
|
||||
#exec swayidle
|
||||
exec swayidle
|
||||
exec dunst
|
||||
exec udiskie
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
timeout 900 'swaylock -f -c 000000'
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
|
||||
timeout 10 'pgrep swaylock && swaymsg "output * dpms off"' resume 'pgrep swaylock && swaymsg "output * dpms on"'
|
||||
|
|
Loading…
Add table
Reference in a new issue