From 56e6041670fb5adf145a29ce90381621846974ba Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 12:50:51 +0100 Subject: [PATCH] hyprland: theme fuzzel, bind Super+L to hyprlock Moves fuzzel from system package to home-manager so we can give it a dark/translucent look matching the waybar. Frees Super+L (was a redundant movefocus-right that arrow keys already cover) and points it at hyprlock for screen locking. Co-Authored-By: Claude Opus 4.7 --- settings/hyprland.nix | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index f496fc4..8d5fe7a 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -39,7 +39,6 @@ environment.systemPackages = with pkgs; [ ghostty - fuzzel mako grim slurp @@ -205,9 +204,12 @@ "$mod, up, movefocus, u" "$mod, down, movefocus, d" "$mod, H, movefocus, l" - "$mod, L, movefocus, r" "$mod, K, movefocus, u" "$mod, J, movefocus, d" + # L freed for hyprlock — arrow keys still handle right-focus. + + # Lock screen + "$mod, L, exec, hyprlock" # Move windows "$mod SHIFT, left, movewindow, l" @@ -267,6 +269,43 @@ }; }; + programs.fuzzel = { + enable = true; + settings = { + main = { + font = "FiraMono Nerd Font:size=12"; + lines = 8; + width = 32; + horizontal-pad = 18; + vertical-pad = 16; + inner-pad = 10; + icon-theme = "Adwaita"; + terminal = "ghostty"; + prompt = "\" \""; + }; + colors = { + background = "141414e6"; + text = "e8e8e8ff"; + match = "ffffffff"; + selection = "ffffff14"; + selection-text = "ffffffff"; + selection-match = "ffffffff"; + border = "ffffff20"; + input = "ffffffff"; + prompt = "9a9a9aff"; + placeholder = "6e6e6eff"; + counter = "6e6e6eff"; + }; + border = { + width = 1; + radius = 10; + }; + dmenu = { + exit-immediately-if-empty = "yes"; + }; + }; + }; + home.file.".config/hypr/hyprpaper.conf".text = '' preload = ${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png wallpaper = ,${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png