From 75663896d0c16cd59d567f21f091b1c9338d7118 Mon Sep 17 00:00:00 2001 From: Anthony Loop Date: Thu, 18 Apr 2024 09:47:33 -0700 Subject: [PATCH] fix(home-manager): allow overriding styles for the rofi theme (#123) --- modules/home-manager/rofi.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/rofi.nix b/modules/home-manager/rofi.nix index bfed1c2d..ffeff2c1 100644 --- a/modules/home-manager/rofi.nix +++ b/modules/home-manager/rofi.nix @@ -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"; + }; }; }; }