diff options
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/personal/programs/rofi.nix | 9 |
1 files changed, 7 insertions, 2 deletions
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; + }; } |
