summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-niri.nix
blob: 90128783b83925a246b51616ee377fe42cd3dd1d (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  config,
  lib,
  ...
}:
{
  config = lib.mkIf (config.beeMods.windowManagers.niri.enable) {
    xdg.configFile = {
      "matugen/templates/matugen.kdl" = {
        text = ''
          layout {
          	background-color "{{colors.background.default.hex}}"

              focus-ring {
                  active-color "{{colors.primary.default.hex}}"
                  inactive-color "{{colors.outline.default.hex}}"
                  urgent-color   "{{colors.error.default.hex}}"
              }

              border {
                  active-color   "{{colors.primary.default.hex}}"
                  inactive-color "{{colors.outline.default.hex}}"
                  urgent-color   "{{colors.error.default.hex}}"
              }

              shadow {
                  color "{{colors.shadow.default.hex}}70"
              }

              tab-indicator {
                  active-color   "{{colors.primary.default.hex}}"
                  inactive-color "{{colors.outline.default.hex}}"
                  urgent-color   "{{colors.error.default.hex}}"
              }

              insert-hint {
                  color "{{colors.primary.default.hex}}80"
              }
          }

          overview {
          	backdrop-color "{{colors.background.default.hex}}"
          }

          recent-windows {
              highlight {
                  active-color "{{colors.primary.default.hex}}"
                  urgent-color "{{colors.error.default.hex}}"
              }
          }
        '';
      };
    };
  };
}