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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
{ pkgs, ... }:
{
services.dunst = {
enable = true;
iconTheme = {
name = "Twitter Color Emoji";
package = pkgs.twitter-color-emoji;
};
settings = {
global = {
### Display ###
monitor = 0;
follow = "none";
width = "(100, 500)";
height = "(0, 300)";
origin = "top-right";
offset = "(5, 15)";
scale = 0;
notification_limit = 10;
### Progress bar ###
progress_bar = true;
progress_bar_height = 14;
progress_bar_frame_width = 0;
progress_bar_min_width = 100;
progress_bar_max_width = 500;
progress_bar_corner_radius = 50;
progress_bar_corners = "bottom-left,top-right";
icon_corner_radius = 0;
icon_corners = "all";
indicate_hidden = "yes";
transparency = 0;
separator_height = 6;
padding = 10;
horizontal_padding = 8;
text_icon_padding = 12;
frame_width = 1;
frame_color = "#a0a0a0";
gap_size = 6;
separator_color = "frame";
corner_radius = 10;
corners = "bottom,top-left";
### Text ###
font = "Iosevka Nerd Font";
markup = "full";
format = "<b>%s</b>\n%b";
alignment = "left";
vertical_alignment = "center";
word_wrap = "yes";
ellipsize = "middle";
ignore_newline = "no";
line_height = 0;
show_age_threshold = -1;
stack_duplicates = true;
hide_duplicate_count = false;
show_indicators = "yes";
### Icons ###
icon_position = "right";
min_icon_size = 32;
max_icon_size = 128;
enable_recursive_icon_lookup = true;
icon_theme = "Twitter Color Emoji";
### History ###
sticky_history = "yes";
history_length = 30;
### Behavior ###
sort = "yes";
idle_threshold = 120;
always_run_script = true;
### Browser & Menu ###
browser = "${pkgs.firefox}/bin/firefox -new-tab";
dmenu = "${pkgs.walker}/bin/walker --modules applications,translation,webesearch,clipboard,finder";
### Misc ###
title = "Dunst";
class = "Dunst";
startup_notification = true;
ignore_dbusclose = false;
force_xwayland = false;
force_xinerama = false;
per_monitor_dpi = false;
### Mouse ###
mouse_left_click = "close_current";
mouse_middle_click = "do_action,close_current";
mouse_right_click = "close_all";
};
urgency_low = {
background = "#222222";
foreground = "#ffffff";
highlight = "#722ae6,#e4b5cb";
timeout = 20;
};
urgency_normal = {
background = "#222222";
foreground = "#ffffff";
frame_color = "#5e5086";
highlight = "#722ae6,#e4b5cb";
timeout = 20;
override_pause_level = 30;
};
urgency_critical = {
background = "#222222";
foreground = "#ffffff";
frame_color = "#d54e53";
highlight = "#d54e53,#f0f0f0";
timeout = 0;
override_pause_level = 60;
};
};
};
}
|