feat: add lock keybind
This commit is contained in:
parent
cb8597a97a
commit
a4cb8f2dfd
1 changed files with 4 additions and 0 deletions
|
@ -236,6 +236,10 @@ in
|
|||
bindl=,switch:on:Lid Switch,exec,monitors="$(hyprctl monitors | grep -c '^Monitor')" && hyprctl keyword monitor "eDP-1, disable" && [ "$monitors" = 1 ] && loginctl lock-session
|
||||
bindl=,switch:off:Lid Switch,exec, hyprctl keyword monitor "eDP-1, preferred, auto"
|
||||
|
||||
|
||||
# Lock Screen
|
||||
bind=$mainMod ALT, L, exec, loginctl lock-session
|
||||
|
||||
# Extra Config
|
||||
${cfg.extraConfig}
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue