Remove lock after inactivity
This commit is contained in:
parent
e139aac27b
commit
17f25883df
@ -19,7 +19,7 @@ set -x ZPOOL_VDEV_NAME_PATH 1
|
|||||||
# Aliases
|
# Aliases
|
||||||
alias f "fff"
|
alias f "fff"
|
||||||
alias peerflix "peerflix -d"
|
alias peerflix "peerflix -d"
|
||||||
alias xi "xbps-install -S"
|
alias xa "xbps-install -S"
|
||||||
alias xu "xbps-install -Su"
|
alias xu "xbps-install -Su"
|
||||||
alias xc "xbps-remove -o"
|
alias xc "xbps-remove -o"
|
||||||
alias xr "xbps-remove -Rf"
|
alias xr "xbps-remove -Rf"
|
||||||
|
@ -281,13 +281,7 @@ bindsym Escape mode "default"
|
|||||||
|
|
||||||
# lock screen on suspend
|
# lock screen on suspend
|
||||||
set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
|
set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
|
||||||
|
|
||||||
bindsym $mod+End exec swaylock -i $lock_bg
|
|
||||||
|
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c 000000 -i $lock_bg' \
|
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
|
||||||
resume 'swaymsg "output * dpms on"' \
|
|
||||||
before-sleep 'swaylock -f -c 000000 -i $lock_bg'
|
before-sleep 'swaylock -f -c 000000 -i $lock_bg'
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user