DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 16e98fb6baf7bf428b03065c8a0299a7fb1e9563 nix-arta/modules/home/rofi.nix -rw-r--r-- 489 bytes
16e98fb6Jonni Liljamo feat: flake inputs 8 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
        };
      };
    };
  };
}