From 789a8f5eeb68b73b55a599e17908c29130eff6a1 Mon Sep 17 00:00:00 2001 From: Anthony Loop Date: Tue, 16 Apr 2024 23:13:52 -0700 Subject: [PATCH] fix(home-manager): allow overriding styles for the rofi theme --- 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"; + }; }; }; }