summary refs log tree commit diff stats
path: root/user/modules/dunst.nix
blob: 5c8a46eb21f87049d9254f95ba6d58c6f610c70f (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
{ config, pkgs, ... }:

{
  services.dunst = {
    enable = true;
    settings = {
      global = {
        font = "Monospace 13";
        geometry = "300x10-10+30";
        follow = "none";
        sticky_history = "yes";
        history_length = 20;
        show_indicators = "yes";
        separator_height = 2;
        padding = 8;
        horizontal_padding = 8;

        separator_color = "frame";
      };
      frame = {
        width = 1;
        color = "#383838";
      };
      urgency_low = {
        background = "#b8b8b8";
        foreground = "#f8f8f8";
        timeout = 10;
      };

      urgency_normal = {
        background = "#7cafc2";
        foreground = "#f8f8f8";
        timeout = 10;
      };

      urgency_critical = {
        background = "#ab4642";
        foreground = "#f8f8f8";
        timeout = 0;
      };
    };
  };
}