Lock screen on lid close
This commit is contained in:
parent
af2bfb7032
commit
c5d88a5943
@ -4,12 +4,14 @@ set $term kitty
|
|||||||
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
||||||
set $lock swaylock --screenshot --effect-blur 10x10 --effect-vignette 0.5:1 --ring-color 3c3836 --key-hl-color d65e0e -f
|
set $lock swaylock --screenshot --effect-blur 10x10 --effect-vignette 0.5:1 --ring-color 3c3836 --key-hl-color d65e0e -f
|
||||||
|
|
||||||
|
|
||||||
#xwayland disable
|
#xwayland disable
|
||||||
|
|
||||||
output * bg ~/.config/sway/wallpapers/mountains.jpg fill
|
output * bg ~/.config/sway/wallpapers/mountains.jpg fill
|
||||||
|
|
||||||
output eDP-1 scale 1.4
|
output eDP-1 scale 1.4
|
||||||
|
|
||||||
|
bindswitch --reload --locked lid:on exec $lock
|
||||||
exec sway-audio-idle-inhibit
|
exec sway-audio-idle-inhibit
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 10 $lock \
|
timeout 10 $lock \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user