summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-dunst.nix
blob: dae700fd9aae763bd8391ca020cc4ab11c8c31ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  xdg.configFile."matugen/templates/dunstrc" = {
    text = ''
      [global]
      frame_color = "{{colors.primary.default.hex}}"
      separator_color = "{{colors.primary_container.default.hex}}"
      foreground = "{{colors.on_surface.default.hex}}"
      highlight = "{{colors.primary.default.hex}}"
      <* if {{ is_dark_mode }} *>
      background = "{{colors.surface.default.hex}}"
      <* else *>
      background = "{{colors.surface_container.default.hex}}"
      <* endif *>

      [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}}"
    '';
  };
}