~cyplo/dotfiles

ref: 83ddcc09dc68389b129d598722eca9e90a6dff33 dotfiles/nixos/i3/dunst.nix -rw-r--r-- 1.1 KiB
83ddcc09 — Cyryl Płotnicki remove broken i3 msg call 1 year, 8 months ago
                                                                                
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, pkgs, ... }:
{
  services.dunst = {
    enable = true;
    settings = {
      global = {
        font = "Fira Code Nerd Font 10";
        sort = "yes";
        indicate_hidden = "yes";
        word_wrap = "yes";
        stack_duplicates = "yes";
        hide_duplicates_count = "yes";
        geometry = "300x50-15+49";
        shrink = "no";
        transparency = 5;
        line_height = 3;
        padding = 6;
        horizontal_padding = 6;
        separator_color = "frame";
        icon_position = "off";
        max_icon_size = 80;
        frame_width = 3;
        frame_color = "#8EC07C";
      };

      low = {
        msg_urgency = "low";
        frame_color = "#3B7C87";
        foreground = "#3B7C87";
        background = "#191311";
        timeout = 5;
      };

      normal = {
        msg_urgency = "normal";
        frame_color = "#5B8234";
        foreground = "#5B8234";
        background = "#191311";
        timeout = 8;
      };

      critical = {
        msg_urgency = "critical";
        frame_color = "#B7472A";
        foreground = "#B7472A";
        background = "#191311";
        timeout = 15;
      };
    };
  };
}