Skip to content

Commit

Permalink
fix(home-manager): allow overriding styles for the rofi theme (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloop authored Apr 18, 2024
1 parent 4b98726 commit 7566389
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/home-manager/rofi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ in
lib.ctp.mkCatppuccinOpt "rofi";

config.programs.rofi = lib.mkIf enable {
theme = builtins.path {
name = "catppuccin-${cfg.flavour}.rasi";
path = "${sources.rofi}/basic/.local/share/rofi/themes/catppuccin-${cfg.flavour}.rasi";
theme = {
"@theme" = builtins.path {
name = "catppuccin-${cfg.flavour}.rasi";
path = "${sources.rofi}/basic/.local/share/rofi/themes/catppuccin-${cfg.flavour}.rasi";
};
};
};
}

0 comments on commit 7566389

Please sign in to comment.