From 8c7fc1a387c4274d2a14ceafaad66bdb0a70162a Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Wed, 28 Aug 2024 23:45:19 -0500 Subject: [PATCH] Add keybinds for locking, fix wofi doubling up --- hyprland/.config/hypr/config.d/03-keybinds.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyprland/.config/hypr/config.d/03-keybinds.conf b/hyprland/.config/hypr/config.d/03-keybinds.conf index 7bf9af83..0847392f 100644 --- a/hyprland/.config/hypr/config.d/03-keybinds.conf +++ b/hyprland/.config/hypr/config.d/03-keybinds.conf @@ -5,7 +5,7 @@ $mainMod = ALT # Program opening and closing bind = $mainMod, Return, exec, foot bind = $mainMod, Q, killactive -bind = $mainMod, Space, exec, wofi -i --show drun +bind = $mainMod, Space, exec, pgrep wofi || wofi -i --show drun #bind = $mainMod, M, exit, bind = $mainMod, T, pseudo, # dwindle bind = $mainMod, F, togglefloating, @@ -29,6 +29,9 @@ bind = $mainMod, O, exec, grim -g "$(slurp -d)" - | wl-copy bind = $mainMod, P, exec, pgrep pavucontrol || pavucontrol bind = $mainMod Shift, P, exec, pkill pavucontrol +# Miscellaneous non-movement hotkeys +bind = CTRL ALT, L, exec, loginctl lock-session + # Change focus bind = $mainMod, h, movefocus, l bind = $mainMod, j, movefocus, d