summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-mango.nix
blob: b6a89b224ad07a86f6e4d4b51145e1deae7a3e91 (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
{
  config,
  lib,
  ...
}:
{
  config = lib.mkIf config.beeMods.mango.enable {
    xdg.configFile = {
      "matugen/templates/mango.conf" = {
        text = ''
          shadowscolor = 0x{{colors.shadow.default.hex_stripped}}ff
          rootcolor = 0x{{colors.surface.default.hex_stripped}}ff
          bordercolor = 0x{{colors.outline.default.hex_stripped}}ff
          focuscolor = 0x{{colors.primary.default.hex_stripped}}ff
          maximizescreencolor = 0x{{colors.secondary.default.hex_stripped}}ff
          urgentcolor = 0x{{colors.error.default.hex_stripped}}ff
          scratchpadcolor = 0x{{colors.tertiary.default.hex_stripped}}ff
          globalcolor = 0x{{colors.on_tertiary.default.hex_stripped}}ff
          overlaycolor = 0x{{colors.on_primary.default.hex_stripped}}ff
        '';
      };
    };
  };
}