summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-waybar.nix
blob: add8a09ef8777d3e9e857a73f6e1c1e0e675a004 (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.waybar {
    xdg.configFile."matugen/templates/waybar.css" = {
      text = ''
        @define-color bg_panel alpha({{colors.surface.default.hex}}, 0.9);
        @define-color bg_base transparent;
        @define-color border_color {{colors.primary.default.hex}};
        @define-color text_main {{colors.primary.default.hex}};
        @define-color text_muted {{colors.primary.default.hex}};
        @define-color text_dim {{colors.primary.default.hex}};
        @define-color text_accent {{colors.primary.default.hex}};
        @define-color text_dark {{colors.surface_container_highest.default.hex}};
        @define-color alert_urgent {{colors.error.default.hex}};
        @define-color alert_minimized {{colors.error_container.default.hex}};
        @define-color alert_critical {{colors.on_error_container.default.hex}};
      '';
    };
  };
}