fix swayidle
This commit is contained in:
parent
33b69090ed
commit
95a302736a
1 changed files with 6 additions and 4 deletions
|
@ -288,13 +288,15 @@ bindsym $mod+$mod2+Print exec $HOME/.local/bin/swaygrim --all
|
||||||
# Lockscreen
|
# Lockscreen
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 30 'makoctl -a away' \
|
timeout 5 'makoctl mode -a away' \
|
||||||
|
resume 'makoctl mode -r away' \
|
||||||
timeout 300 'swaylock -f' \
|
timeout 300 'swaylock -f' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
resume 'makoctl mode -r away' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
|
||||||
resume 'makoctl -r away' \
|
|
||||||
before-sleep 'swaylock -f'
|
before-sleep 'swaylock -f'
|
||||||
|
|
||||||
|
# timeout 600 'swaymsg "output * dpms off"' \
|
||||||
|
# resume 'swaymsg "output * dpms on" & makoctl mode -r away' \
|
||||||
|
|
||||||
bindsym control+$mod2+l exec swaylock
|
bindsym control+$mod2+l exec swaylock
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue