diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-25 16:10:12 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-25 16:12:23 +0530 |
| commit | bf223080a34ef243f317938fd39e785dc5576f26 (patch) | |
| tree | 51428463c7eeac9e791f17bba1be0254ce87f689 /modules/desktop/rofi/default.nix | |
| parent | 47a4bf5c092a70095a250eed0372835221905067 (diff) | |
| download | home-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/rofi/default.nix')
| -rw-r--r-- | modules/desktop/rofi/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/desktop/rofi/default.nix b/modules/desktop/rofi/default.nix new file mode 100644 index 0000000..8ef6bdc --- /dev/null +++ b/modules/desktop/rofi/default.nix @@ -0,0 +1,36 @@ +{ + config, + lib, + pkgs, + ... +}: +{ + options.desktop.rofi = { + enable = lib.mkEnableOption "Enables rofi launcher." // { + default = true; + }; + package = lib.mkOption { + type = lib.types.package; + description = "The rofi package to use."; + }; + }; + + config = lib.mkIf config.desktop.enable { + desktop.rofi.package = lib.mkDefault config.programs.rofi.finalPackage; + + programs.rofi = { + enable = config.desktop.rofi.enable; + theme = "${config.scheme { + template = builtins.readFile ./theme.mustache.rasi; + extension = ".rasi"; + }}"; + extraConfig = { + modi = "drun"; + show-icons = true; + drun-display-format = "{name}"; + display-drun = "Launch"; + sort = true; + }; + }; + }; +} |
