fix(home-manager): allow overriding styles for the rofi theme (#123)
This commit is contained in:
parent
4b98726102
commit
75663896d0
1 changed files with 5 additions and 3 deletions
|
@ -13,9 +13,11 @@ in
|
||||||
lib.ctp.mkCatppuccinOpt "rofi";
|
lib.ctp.mkCatppuccinOpt "rofi";
|
||||||
|
|
||||||
config.programs.rofi = lib.mkIf enable {
|
config.programs.rofi = lib.mkIf enable {
|
||||||
theme = builtins.path {
|
theme = {
|
||||||
|
"@theme" = builtins.path {
|
||||||
name = "catppuccin-${cfg.flavour}.rasi";
|
name = "catppuccin-${cfg.flavour}.rasi";
|
||||||
path = "${sources.rofi}/basic/.local/share/rofi/themes/catppuccin-${cfg.flavour}.rasi";
|
path = "${sources.rofi}/basic/.local/share/rofi/themes/catppuccin-${cfg.flavour}.rasi";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue