fix(home-manager): allow overriding styles for the rofi theme (#123)

This commit is contained in:
Anthony Loop 2024-04-18 09:47:33 -07:00 committed by GitHub
parent 4b98726102
commit 75663896d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";
};
};
};
}