aboutsummaryrefslogtreecommitdiff
path: root/services/dunst.nix
blob: b8bda7f3a726db78f6226d662fb78b4b429eb4ad (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{ config
, pkgs
, theme
, ...
}:

with theme;
{
  services.dunst = {
    enable = true;
    settings = {
      global = {
        font = "Nerd Input 12";
        allow_markup = "no";
        format = ''%s\n%b'';
        sort = "yes";
        indicate_hidden = "yes";
        alignment = "right";
        bounce_freq = "0";
        show_age_threshold = "60";
        word_wrap = "yes";
        ignore_newline = "no";
        geometry = "300x8-20+20";
        shrink = "yes";
        frame_width = 0;
        transparency = "0";
        idle_threshold = "120";
        monitor = "0";
        follow = "mouse";
        sticky_history = "yes";
        history_length = "20";
        icon_folders = "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/";
        show_indicators = "yes";
        line_height = "0";
        separator_height = "0";
        padding = "20";
        horizontal_padding = "20";
        separator_color = "auto";
        startup_notification = "false";
        stack_duplicates = "true";
        mouse_left_click = "close_current";
        mouse_middle_click = "do_action, close_current";
        mouse_right_click = "close_all";
      };

      urgency_normal = {
        background = base00;
        foreground = base05;
        timeout = 10;
      };

      urgency_low = {
        background = base00;
        foreground = base05;
        timeout = 2;
      };

      urgency_critical = {
        background = base00;
        foreground = base05;
        timeout = 0;
      };
    };
  };
}