summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-mango.nix
blob: 440c4a9065e49822f78b33d26892c72a2cf6f2d4 (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
{
  config,
  lib,
  ...
}:
{
  config =
    lib.mkIf
      (config.beeMods.windowManagers.mango.enable && config.beeMods.windowManagers.beeConfig.enable)
      {
        xdg.configFile = {
          "matugen/templates/mango.conf" = {
            text = ''
              rootcolor={{colors.background.default.hex_stripped}}ff
              bordercolor={{colors.outline_variant.default.hex_stripped}}ff
              focuscolor={{colors.primary.default.hex_stripped}}ff
              maximizescreencolor={{colors.secondary_container.default.hex_stripped}}ff
              urgentcolor={{colors.error.default.hex_stripped}}ff
              scratchpadcolor={{colors.tertiary.default.hex_stripped}}ff
              globalcolor={{colors.secondary_container.default.hex_stripped}}ff
              overlaycolor={{colors.tertiary_container.default.hex_stripped}}ff
            '';
          };
        };
      };
}