Replace manual xdg.configFile symlinks and fetchFromGitHub theme fetching with programs.rofi options and the catppuccin/nix flake module. Also removes unused pywal module from magicman. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
727 B
Nix
34 lines
727 B
Nix
{ pkgs, ... }:
|
|
{
|
|
catppuccin.rofi = {
|
|
enable = true;
|
|
flavor = "macchiato";
|
|
};
|
|
|
|
programs.rofi = {
|
|
enable = true;
|
|
terminal = "kitty";
|
|
location = "center";
|
|
font = "JetBrains Mono Nerd Font 12";
|
|
plugins = [
|
|
pkgs.rofi-emoji
|
|
pkgs.rofi-calc
|
|
];
|
|
extraConfig = {
|
|
modi = "drun,ssh,window,calc,emoji";
|
|
matching = "fuzzy";
|
|
show-icons = true;
|
|
icon-theme = "Oranchelo";
|
|
drun-display-format = "{icon} {name}";
|
|
hide-scrollbar = true;
|
|
disable-history = false;
|
|
display-drun = "Apps";
|
|
display-ssh = "SSH";
|
|
display-window = "Window";
|
|
display-calc = "Calc";
|
|
display-emoji = "Emoji";
|
|
sidebar-mode = true;
|
|
};
|
|
};
|
|
}
|