From bf223080a34ef243f317938fd39e785dc5576f26 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 25 Jul 2026 16:10:12 +0530 Subject: feat(rofi): add rofi launcher module, drop polybar and fzf-launcher, add private configs - Add rofi module with base16-themed .rasi template and drun mode - Remove polybar module (replaced by waybar in prior commits) - Remove fzf-launcher script (replaced by rofi) - Update hyprland window rules, keybinding, and cursor size - Add private email and git config modules - Switch pinentry from gtk2 to rofi - Tweak waybar #window margin --- modules/desktop/hyprland/default.nix | 14 +++++++------- modules/desktop/hyprland/keybindings.nix | 6 ++---- 2 files changed, 9 insertions(+), 11 deletions(-) (limited to 'modules/desktop/hyprland') diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 9f52232..97e0134 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -76,18 +76,18 @@ in } { - name = "float-application-launcher"; - match.class = "^(application-launcher)$"; + name = "float-rofi"; + match.class = "^(rofi)$"; float = true; } { - name = "size-application-launcher"; - match.class = "^(application-launcher)$"; + name = "size-rofi"; + match.class = "^(rofi)$"; size = "800 600"; } { - name = "center-application-launcher"; - match.class = "^(application-launcher)$"; + name = "center-rofi"; + match.class = "^(rofi)$"; center = true; } @@ -114,7 +114,7 @@ in enable = true; package = pkgs.rose-pine-hyprcursor; name = "rose-pine-hyprcursor"; - size = 24; + size = 20; hyprcursor.enable = true; gtk.enable = false; x11.enable = false; diff --git a/modules/desktop/hyprland/keybindings.nix b/modules/desktop/hyprland/keybindings.nix index 09ba822..d265478 100644 --- a/modules/desktop/hyprland/keybindings.nix +++ b/modules/desktop/hyprland/keybindings.nix @@ -28,10 +28,8 @@ in { config.wayland.windowManager.hyprland.settings.bind = lib.flatten [ # --- General Applications --- - (lib.optionals (config.terminal.fzf.enable && config.terminal.kitty.enable) [ - (bind "R" ( - execLua "${lib.getExe config.terminal.kitty.package} --class application-launcher -e ${lib.getExe config.scripts.fzf-launcher.package}" - )) + (lib.optionals config.desktop.rofi.enable [ + (bind "R" (execLua "${lib.getExe config.desktop.rofi.package} -show drun")) ]) (lib.optionals config.terminal.kitty.enable [ (bind "Return" (execLua "${lib.getExe config.terminal.kitty.package}")) -- cgit v1.2.3