DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

00f55261c2f076f0db06cae2d4eda9c954dff680 — Jonni Liljamo 7 days ago bc04f64
feat: rofi
1 files changed, 25 insertions(+), 0 deletions(-)

A modules/home/rofi.nix
A modules/home/rofi.nix => modules/home/rofi.nix +25 -0
@@ 0,0 1,25 @@
{
  flake.modules.homeManager.rofi = {
    config,
    lib,
    ...
  }: let
    col = lib.arta.colours.everforest;
  in {
    programs.rofi = {
      enable = true;
      modes = ["run"];
      theme = let
        inherit (config.lib.formats.rasi) mkLiteral;
      in {
        "*" = {
          bg0 = mkLiteral "#${col.bg0}";
          fg = mkLiteral "#${col.fg}";

          background-color = mkLiteral "@bg0";
          text-color = mkLiteral "@fg";
        };
      };
    };
  };
}