summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-dunst.nix
blob: 443feeb3cbd2f18887f464eb8b2160575a307147 (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
{
  xdg.configFile."matugen/templates/dunstrc" = {
    text = ''
      [global]
      frame_color = "{{colors.primary.default.hex}}"
      separator_color = "{{colors.primary_container.default.hex}}"
      <* if {{ is_dark_mode }} *>
      background = '{{colors.background.default.hex}}'
      <* else *>
      background = '{{colors.surface_container.default.hex}}'
      <* endif *>

      [urgency_low]
      foreground = "{{colors.on_surface.default.hex}}"
      highlight = "{{colors.primary.default.hex}}"

      [urgency_normal]
      foreground = "{{colors.on_surface.default.hex}}"
      highlight = "{{colors.primary.default.hex}}"

      [urgency_critical]
      background = "{{colors.error_container.default.hex}}"
      foreground = "{{colors.on_error_container.default.hex}}"
      frame_color = "{{colors.error.default.hex}}"
      highlight = "{{colors.error.default.hex}}"
    '';
  };
}