From 1ac03c9467ad9af9f8d8808204300a7bbfdd27d6 Mon Sep 17 00:00:00 2001 From: aristote Date: Mon, 28 Apr 2025 14:40:20 +0200 Subject: home: rofi: fix config file import --- modules/home-manager/personal/programs/rofi.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/home-manager/personal/programs/rofi.nix b/modules/home-manager/personal/programs/rofi.nix index 229a29e..a3fdad3 100644 --- a/modules/home-manager/personal/programs/rofi.nix +++ b/modules/home-manager/personal/programs/rofi.nix @@ -8,12 +8,17 @@ cycle = lib.mkDefault true; theme = lib.mkIf (config.lib ? stylix) - (lib.mkForce + ( + lib.mkForce (config.lib.stylix.colors { template = builtins.readFile config.personal.home.dotfiles.rofi; extension = ".rasi"; }) - .out); + ); plugins = with pkgs; [rofi-top rofi-calc rofi-emoji]; }; + xdg.dataFile."rofi/themes/custom.rasi" = lib.mkForce { + source = config.programs.rofi.theme; + text = null; + }; } -- cgit v1.2.3