aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/hyprland
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 16:10:12 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 16:12:23 +0530
commitbf223080a34ef243f317938fd39e785dc5576f26 (patch)
tree51428463c7eeac9e791f17bba1be0254ce87f689 /modules/desktop/hyprland
parent47a4bf5c092a70095a250eed0372835221905067 (diff)
downloadhome-manager-config-bf223080a34ef243f317938fd39e785dc5576f26.tar.gz
home-manager-config-bf223080a34ef243f317938fd39e785dc5576f26.zip
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
Diffstat (limited to 'modules/desktop/hyprland')
-rw-r--r--modules/desktop/hyprland/default.nix14
-rw-r--r--modules/desktop/hyprland/keybindings.nix6
2 files changed, 9 insertions, 11 deletions
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}"))