summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-rofi.nix
blob: 9645e5a90f1b0d02334c244a8f7471037dc4a160 (plain)
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
{
  config,
  lib,
  ...
}:
{
  config = lib.mkIf config.programs.rofi.enable {
    xdg.configFile = {
      "matugen/templates/rofi-colors.rasi" = {
        text =
          # rasi
          ''
            * {
            background:     {{colors.surface.default.hex}};
            background-alt: {{colors.surface_container.default.hex}};
            foreground:     {{colors.on_surface.default.hex}};
            selected:       {{colors.primary.default.hex}};
            active:         {{colors.secondary.default.hex}};
            urgent:         {{colors.error.default.hex}};
              }
          '';
      };
    };
  };
}