about summary refs log tree commit diff
path: root/home/profiles/gui/config/dunst.nix
blob: b614de58be1144d258e55fa97b3a0acb0407d541 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ config, neotheme }:

with neotheme.colors;

let
  guiCfg = config.profiles.gui;
in
{
  global = {
    padding = 8;
    width = "330";
    height = "500";
    origin = "top-right";
    offset = "8x25";
    notification_limit = 5;
    frame_width = 2;
    vertical_alignment = "center";
    horizontal_padding = 8;
    icon_position = "left";
    corner_radius = 10;

    markup = "full";
    word_wrap = true;
    show_indicators = false;
    format = "<b>%s</b>\\n\\n%b";
    font = "${guiCfg.font.name} ${toString guiCfg.font.size}";
    frame_color = "#${color3}";
    separator_color = "auto";
    max_icon_size = 80;
  };

  urgency_low = {
    foreground = "#${foreground}";
    background = "#${background}";
    frame_color = "#${color4}";
    timeout = 4;
  };

  urgency_normal = {
    foreground = "#${foreground}";
    background = "#${background}";
    frame_color = "#${color3}";
    timeout = 8;
  };

  urgency_critical = {
    foreground = "#${foreground}";
    background = "#${background}";
    frame_color = "#${color1}";
  };
}