From 5e0a29628d78bc0ee59011077793bed99e447ff3 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 7 Dec 2024 22:54:22 +0100 Subject: [PATCH] sway: add lock keybind --- config/etc/sway/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/etc/sway/config.nix b/config/etc/sway/config.nix index c7a3c0a..35bb534 100644 --- a/config/etc/sway/config.nix +++ b/config/etc/sway/config.nix @@ -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%-