summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/dunst/dunstrc494
1 files changed, 494 insertions, 0 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
new file mode 100644
index 0000000..04ab944
--- /dev/null
+++ b/.config/dunst/dunstrc
@@ -0,0 +1,494 @@
1# See dunst(5) for all configuration options
2
3[global]
4 ### Display ###
5
6 # Which monitor should the notifications be displayed on.
7 monitor = 0
8
9 # Display notification on focused monitor. Possible modes are:
10 # mouse: follow mouse pointer
11 # keyboard: follow window with keyboard focus
12 # none: don't follow anything
13 #
14 # "keyboard" needs a window manager that exports the
15 # _NET_ACTIVE_WINDOW property.
16 # This should be the case for almost all modern window managers.
17 #
18 # If this option is set to mouse or keyboard, the monitor option
19 # will be ignored.
20 follow = none
21
22 ### Geometry ###
23
24 # The width of the window, excluding the frame.
25 # dynamic width from 0 to 300
26 # width = (0, 300)
27 # constant width of 300
28 width = 400
29
30 # The height of a single notification, excluding the frame.
31 # dynamic height from 0 to 300
32 height = (0, 300)
33 # constant height of 300
34 # height = 300
35 # NOTE: Dunst from version 1.11 and older don't support dynamic height
36 # and the given value is treated as the maximum height
37
38 # Position the notification in the top right corner
39 origin = top-right
40
41 # Offset from the origin
42 # NOTE: Dunst from version 1.11 and older use this alternative notation
43 # offset = 10x50
44 offset = (32, 32)
45
46 # Scale factor. It is auto-detected if value is 0.
47 scale = 0
48
49 # Maximum number of notification (0 means no limit)
50 notification_limit = 20
51
52 # Show how many messages are currently hidden (because of
53 # notification_limit).
54 indicate_hidden = yes
55
56 ### Progress bar ###
57
58 # Turn on the progress bar. It appears when a progress hint is passed with
59 # for example dunstify -h int:value:12
60 progress_bar = true
61
62 # Set the progress bar height. This includes the frame, so make sure
63 # it's at least twice as big as the frame width.
64 progress_bar_height = 8
65
66 # Set the frame width of the progress bar
67 progress_bar_frame_width = 0
68
69 # Set the minimum width for the progress bar
70 progress_bar_min_width = 150
71
72 # Set the maximum width for the progress bar
73 progress_bar_max_width = 300
74
75 # Corner radius for the progress bar. 0 disables rounded corners.
76 progress_bar_corner_radius = 4
77
78 # Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
79 # is set to 0 this option will be ignored.
80 progress_bar_corners = all
81
82 # Corner radius for the icon image.
83 icon_corner_radius = 0
84
85 # Define which corners to round when drawing the icon image. If icon_corner_radius
86 # is set to 0 this option will be ignored.
87 icon_corners = all
88
89 # The transparency of the window. Range: [0; 100].
90 # This option will only work if a compositing window manager is
91 # present (e.g. xcompmgr, compiz, etc.). (X11 only)
92 transparency = 0
93
94 # Draw a line of "separator_height" pixel height between two
95 # notifications.
96 # Set to 0 to disable.
97 # If gap_size is greater than 0, this setting will be ignored.
98 separator_height = 2
99
100 # Padding between text and separator.
101 padding = 8
102
103 # Horizontal padding.
104 horizontal_padding = 8
105
106 # Padding between text and icon.
107 text_icon_padding = 0
108
109 # Defines width in pixels of frame around the notification window.
110 # Set to 0 to disable.
111 frame_width = 2
112
113 # Defines color of the frame around the notification window.
114 frame_color = "#aaaaaa"
115
116 # Size of gap to display between notifications - requires a compositor.
117 # If value is greater than 0, separator_height will be ignored and a border
118 # of size frame_width will be drawn around each notification instead.
119 # Click events on gaps do not currently propagate to applications below.
120 gap_size = 16
121
122 # Define a color for the separator.
123 # possible values are:
124 # * auto: dunst tries to find a color fitting to the background;
125 # * foreground: use the same color as the foreground;
126 # * frame: use the same color as the frame;
127 # * anything else will be interpreted as a X color.
128 separator_color = frame
129
130 # Sort type.
131 # possible values are:
132 # * id: sort by id
133 # * urgency_ascending: sort by urgency (low then normal then critical)
134 # * urgency_descending: sort by urgency (critical then normal then low)
135 # * update: sort by update (most recent always at the top)
136 sort = yes
137
138 # Don't remove messages, if the user is idle (no mouse or keyboard input)
139 # for longer than idle_threshold seconds.
140 # Set to 0 to disable.
141 # A client can set the 'transient' hint to bypass this. See the rules
142 # section for how to disable this if necessary
143 idle_threshold = 120
144
145 ### Text ###
146
147 font = Noto 11
148
149 # The spacing between lines. If the height is smaller than the
150 # font height, it will get raised to the font height.
151 line_height = 0
152
153 # Possible values are:
154 # full: Allow a small subset of html markup in notifications:
155 # <b>bold</b>
156 # <i>italic</i>
157 # <s>strikethrough</s>
158 # <u>underline</u>
159 #
160 # For a complete reference see
161 # <https://docs.gtk.org/Pango/pango_markup.html>.
162 #
163 # strip: This setting is provided for compatibility with some broken
164 # clients that send markup even though it's not enabled on the
165 # server. Dunst will try to strip the markup but the parsing is
166 # simplistic so using this option outside of matching rules for
167 # specific applications *IS GREATLY DISCOURAGED*.
168 #
169 # no: Disable markup parsing, incoming notifications will be treated as
170 # plain text. Dunst will not advertise that it has the body-markup
171 # capability if this is set as a global setting.
172 #
173 # It's important to note that markup inside the format option will be parsed
174 # regardless of what this is set to.
175 markup = full
176
177 # The format of the message. Possible variables are:
178 # %a appname
179 # %s summary
180 # %b body
181 # %c category
182 # %S stack_tag
183 # %i iconname (including its path)
184 # %I iconname (without its path)
185 # %p progress value if set ([ 0%] to [100%]) or nothing
186 # %n progress value if set without any extra characters
187 # %% literal %
188 # Markup is allowed
189 format = "<b>%s</b> (%a)\n%b"
190
191 # Alignment of message text.
192 # Possible values are "left", "center" and "right".
193 alignment = left
194
195 # Vertical alignment of message text and icon.
196 # Possible values are "top", "center" and "bottom".
197 vertical_alignment = center
198
199 # Show age of message if message is older than show_age_threshold
200 # seconds.
201 # Set to -1 to disable.
202 show_age_threshold = 60
203
204 # Specify where to make an ellipsis in long lines.
205 # Possible values are "start", "middle" and "end".
206 ellipsize = end
207
208 # Ignore newlines '\n' in notifications.
209 ignore_newline = no
210
211 # Stack together notifications with the same content
212 stack_duplicates = true
213
214 # Hide the count of stacked notifications with the same content
215 hide_duplicate_count = false
216
217 # Display indicators for URLs (U) and actions (A).
218 show_indicators = yes
219
220 ### Icons ###
221
222 # Recursive icon lookup. You can set a single theme, instead of having to
223 # define all lookup paths.
224 enable_recursive_icon_lookup = true
225
226 # Set icon theme (only used for recursive icon lookup)
227 icon_theme = breeze
228 # You can also set multiple icon themes, with the leftmost one being used first.
229 # icon_theme = "Adwaita, breeze"
230
231 # Align icons left/right/top/off
232 icon_position = left
233
234 # Scale small icons up to this size, set to 0 to disable. Helpful
235 # for e.g. small files or high-dpi screens. In case of conflict,
236 # max_icon_size takes precedence over this.
237 min_icon_size = 32
238
239 # Scale larger icons down to this size, set to 0 to disable
240 max_icon_size = 128
241
242 # Paths to default icons (only necessary when not using recursive icon lookup)
243 # icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
244
245 ### History ###
246
247 # Should a notification popped up from history be sticky or timeout
248 # as if it would normally do.
249 sticky_history = yes
250
251 # Maximum amount of notifications kept in history
252 history_length = 20
253
254 ### Misc/Advanced ###
255
256 # dmenu path.
257 dmenu = /usr/bin/vicinae dmenu
258
259 # Browser for opening urls in context menu.
260 browser = /usr/bin/xdg-open
261
262 # Always run rule-defined scripts, even if the notification is suppressed
263 always_run_script = true
264
265 # Define the title of the windows spawned by dunst (X11 only)
266 title = Dunst
267
268 # Define the class of the windows spawned by dunst (X11 only)
269 class = Dunst
270
271 # Define the corner radius of the notification window
272 # in pixel size. If the radius is 0, you have no rounded
273 # corners.
274 # The radius will be automatically lowered if it exceeds half of the
275 # notification height to avoid clipping text and/or icons.
276 corner_radius = 12
277
278 # Define which corners to round when drawing the window. If the corner radius
279 # is set to 0 this option will be ignored.
280 #
281 # Comma-separated list of the corners. The accepted corner values are bottom-right,
282 # bottom-left, top-right, top-left, top, bottom, left, right or all.
283 corners = all
284
285 # Ignore the dbus closeNotification message.
286 # Useful to enforce the timeout set by dunst configuration. Without this
287 # parameter, an application may close the notification sent before the
288 # user defined timeout.
289 ignore_dbusclose = false
290
291 ### Wayland ###
292 # These settings are Wayland-specific. They have no effect when using X11
293
294 # Uncomment this if you want to let notifications appear under fullscreen
295 # applications (default: overlay)
296 # layer = top
297
298 # Set this to true to use X11 output on Wayland.
299 force_xwayland = false
300
301 ### Legacy
302
303 # Use the Xinerama extension instead of RandR for multi-monitor support.
304 # This setting is provided for compatibility with older nVidia drivers that
305 # do not support RandR and using it on systems that support RandR is highly
306 # discouraged.
307 #
308 # By enabling this setting dunst will not be able to detect when a monitor
309 # is connected or disconnected which might break follow mode if the screen
310 # layout changes.
311 force_xinerama = false
312
313 ### mouse
314
315 # Defines list of actions for each mouse event
316 # Possible values are:
317 # * none: Don't do anything.
318 # * do_action: Invoke the action determined by the action_name rule. If there is no
319 # such action, open the context menu.
320 # * open_url: If the notification has exactly one url, open it. If there are multiple
321 # ones, open the context menu.
322 # * close_current: Close current notification.
323 # * remove_current: Remove current notification from history.
324 # * close_all: Close all notifications.
325 # * context: Open context menu for the notification.
326 # * context_all: Open context menu for all notifications.
327 # These values can be strung together for each mouse event, and
328 # will be executed in sequence.
329 mouse_left_click = open_url,close_current
330 mouse_middle_click = context,close_current
331 mouse_right_click = close_all
332
333# Experimental features that may or may not work correctly. Do not expect them
334# to have a consistent behaviour across releases.
335[experimental]
336 # Calculate the dpi to use on a per-monitor basis.
337 # If this setting is enabled the Xft.dpi value will be ignored and instead
338 # dunst will attempt to calculate an appropriate dpi value for each monitor
339 # using the resolution and physical size. This might be useful in setups
340 # where there are multiple screens with very different dpi values.
341 per_monitor_dpi = false
342
343
344[urgency_low]
345 # IMPORTANT: colors have to be defined in quotation marks.
346 # Otherwise the "#" and following would be interpreted as a comment.
347 background = "#222222"
348 foreground = "#888888"
349 timeout = 10
350 default_icon = dialog-information
351
352[urgency_normal]
353 background = "#285577"
354 foreground = "#ffffff"
355 timeout = 10
356 override_pause_level = 30
357 default_icon = dialog-information
358
359[urgency_critical]
360 background = "#900000"
361 foreground = "#ffffff"
362 frame_color = "#ff0000"
363 timeout = 0
364 override_pause_level = 60
365 default_icon = dialog-warning
366
367# Every section that isn't one of the above is interpreted as a rules to
368# override settings for certain messages.
369#
370# Messages can be matched by
371# appname (discouraged, see desktop_entry)
372# body
373# category
374# desktop_entry
375# icon
376# match_transient
377# msg_urgency
378# stack_tag
379# summary
380#
381# and you can override the
382# background
383# foreground
384# format
385# frame_color
386# fullscreen
387# new_icon
388# set_stack_tag
389# set_transient
390# set_category
391# timeout
392# urgency
393# icon_position
394# skip_display
395# history_ignore
396# action_name
397# word_wrap
398# ellipsize
399# alignment
400# hide_text
401# override_pause_level
402#
403# Shell-like globbing will get expanded.
404#
405# Instead of the appname filter, it's recommended to use the desktop_entry filter.
406# GLib based applications export their desktop-entry name. In comparison to the appname,
407# the desktop-entry won't get localized.
408#
409# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
410# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
411# override_pause_level = X
412
413# SCRIPTING
414# You can specify a script that gets run when the rule matches by
415# setting the "script" option.
416# The script will be called as follows:
417# script appname summary body icon urgency
418# where urgency can be "LOW", "NORMAL" or "CRITICAL".
419#
420# NOTE: It might be helpful to run dunst -print in a terminal in order
421# to find fitting options for rules.
422
423# Disable the transient hint so that idle_threshold cannot be bypassed from the
424# client
425#[transient_disable]
426# match_transient = yes
427# set_transient = no
428#
429# Make the handling of transient notifications more strict by making them not
430# be placed in history.
431#[transient_history_ignore]
432# match_transient = yes
433# history_ignore = yes
434
435# fullscreen values
436# show: show the notifications, regardless if there is a fullscreen window opened
437# delay: displays the new notification, if there is no fullscreen window active
438# If the notification is already drawn, it won't get undrawn.
439# pushback: same as delay, but when switching into fullscreen, the notification will get
440# withdrawn from screen again and will get delayed like a new notification
441#[fullscreen_delay_everything]
442# fullscreen = delay
443#[fullscreen_show_critical]
444# msg_urgency = critical
445# fullscreen = show
446
447#[espeak]
448# summary = "*"
449# script = dunst_espeak.sh
450
451#[script-test]
452# summary = "*script*"
453# script = dunst_test.sh
454
455#[ignore]
456# # This notification will not be displayed
457# summary = "foobar"
458# skip_display = true
459
460#[history-ignore]
461# # This notification will not be saved in history
462# summary = "foobar"
463# history_ignore = yes
464
465#[skip-display]
466# # This notification will not be displayed, but will be included in the history
467# summary = "foobar"
468# skip_display = yes
469
470#[signed_on]
471# appname = Pidgin
472# summary = "*signed on*"
473# urgency = low
474#
475#[signed_off]
476# appname = Pidgin
477# summary = *signed off*
478# urgency = low
479#
480#[says]
481# appname = Pidgin
482# summary = *says*
483# urgency = critical
484#
485#[twitter]
486# appname = Pidgin
487# summary = *twitter.com*
488# urgency = normal
489#
490#[stack-volumes]
491# appname = "some_volume_notifiers"
492# set_stack_tag = "volume"
493#
494# vim: ft=cfg