sway: add lock keybind

This commit is contained in:
Kevin Baensch 2024-12-07 22:54:22 +01:00
parent 1f5952fffa
commit 5e0a29628d
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -100,6 +100,7 @@ pkgs.writeText "config" ''
# start a terminal
bindsym $mod+Return exec $term
bindsym $mod+o exec ${pkgs.pcmanfm}/bin/pcmanfm
bindsym $mod+Alt+l exec loginctl lock-session && ${pkgs.swaylock}/bin/swaylock -c 000000 -kFe
# kill focused window
bindsym $mod+Shift+q kill
@ -124,7 +125,6 @@ pkgs.writeText "config" ''
bindsym $mod+x move container to output right
bindsym $mod+Shift+y move workspace to output left
bindsym $mod+Shift+x move workspace to output right
bindsym $mod+Alt+l exec ${pkgs.i3lock}/bin/i3lock -efc 000000
bindsym $mod+minus exec ${pkgs.alsa-utils}/bin/amixer -c 0 sset Master 1%-
bindsym $mod+plus exec ${pkgs.alsa-utils}/bin/amixer -c 0 sset Master 1%+
bindsym $mod+Mod1+minus exec ${pkgs.alsa-utils}/bin/amixer -D pulse sset Master 1%-