From c9b98978fa79fee1214340423312518688fd89b0 Mon Sep 17 00:00:00 2001 From: kenji Date: Wed, 16 Jul 2025 09:49:58 -0500 Subject: [PATCH] hypr: changed binds --- packages/hyprland/config/binds.nix | 18 ++++-------------- packages/quickshell/home.nix | 1 + 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/packages/hyprland/config/binds.nix b/packages/hyprland/config/binds.nix index c09cf93..3b943bb 100644 --- a/packages/hyprland/config/binds.nix +++ b/packages/hyprland/config/binds.nix @@ -4,18 +4,8 @@ ... }: { wayland.windowManager.hyprland.settings = { - # Define your Super key (Mod) here, typically Super_L for the left Super key - # If you use the right Super key, you might want Super_R - # If you just use 'Super' it usually means either. - # $mod = Super; - - # Note: I'm assuming 'Super' is your $mod key based on your binds. - # If it's not defined elsewhere in your Hyprland config, you might need to add: - # "$mod = Super;" to your Hyprland environment or options. - exec = [ - "hyprctl dispatch submap global" # This line might need to be elsewhere if it's a global exec command, not a keybind. - # For now, it's just text in the original context. + "hyprctl dispatch submap global" ]; submap = [ @@ -73,8 +63,8 @@ [ # Misc "Control+Alt, Delete, exec, caelestia:session" - "$mod, MINUS, global, caelestia:showall" - "$mod, PLUS, global, caelestia:lock" + "$mod ALT, A, global, caelestia:showall" + "$mod ALT, L, global, caelestia:lock" # Restore lock - these are `bindl` in your original, but `exec` should be fine here. # However, `bindl` is typically for a *release* event. If `caelestia shell -d` is a daemon, @@ -101,7 +91,7 @@ "$mod SHIFT, C, exec, hyprpicker -a" # Colour picker # Sleep - "$mod SHIFT, L, exec, systemctl suspend-then-hibernate" + "$mod SHIFT, PRINT, exec, systemctl suspend-then-hibernate" # Clipboard and emoji picker "$mod, V, exec, pkill fuzzel || caelestia clipboard" diff --git a/packages/quickshell/home.nix b/packages/quickshell/home.nix index c30802c..dad74fd 100644 --- a/packages/quickshell/home.nix +++ b/packages/quickshell/home.nix @@ -15,6 +15,7 @@ in { ]; home.packages = with pkgs; [ inputs.quickshell.packages.${system}.default + grim foot hyprpicker qalculate-qt