aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-03-08 22:28:10 -0800
committerclarkzjw <[email protected]>2023-03-08 22:28:10 -0800
commit634eb6bda0c703ad3e0c5feccfde363e211b715c (patch)
treededb9b41e1274efef033f9d7fd3314f1e0afa29a
parenta762d6c05486afc052bed1d03a472d24e6def298 (diff)
downloaddotfiles-634eb6bda0c703ad3e0c5feccfde363e211b715c.tar.gz
add dunst config
-rw-r--r--dot_config/dunst/dunstrc418
1 files changed, 418 insertions, 0 deletions
diff --git a/dot_config/dunst/dunstrc b/dot_config/dunst/dunstrc
new file mode 100644
index 0000000..311cb31
--- /dev/null
+++ b/dot_config/dunst/dunstrc
@@ -0,0 +1,418 @@
1[global]
2 ### Display ###
3
4 # Which monitor should the notifications be displayed on.
5 monitor = 0
6
7 # Display notification on focused monitor. Possible modes are:
8 # mouse: follow mouse pointer
9 # keyboard: follow window with keyboard focus
10 # none: don't follow anything
11 #
12 # "keyboard" needs a window manager that exports the
13 # _NET_ACTIVE_WINDOW property.
14 # This should be the case for almost all modern window managers.
15 #
16 # If this option is set to mouse or keyboard, the monitor option
17 # will be ignored.
18 follow = none
19
20 # GEOMETRY IS NOW DEPRECATED, USE WIDTH, EIGHT, ORIGIN, NOTIFICATIONS_LIMIT, OFFSET INSTEAD
21 # The geometry of the window:
22 # [{width}]x{height}[+/-{x}+/-{y}]
23 # The geometry of the message window.
24 # The height is measured in number of notifications everything elxse
25 # in pixels. If the width is omitted but the height is given
26 # ("-geometry x2"), the message window expands over the whole screen
27 # (dmenu-like). If width is 0, the window expands to the longest
28 # message displayed. A positive x is measured from the left, a
29 # negative from the right side of the screen. Y is measured from
30 # the top and down respectively.
31 # The width can be negative. In this case the actual width is the
32 # screen width minus the width defined in within the geometry option.
33 width = 800
34 eight = 5
35 origin = "bottom-right"
36 offset = 8x43
37
38 # Show how many messages are currently hidden (because of geometry).
39 indicate_hidden = yes
40
41 # Shrink window if it's smaller than the width. Will be ignored if
42 # width is 0.
43 shrink = no
44
45 # The transparency of the window. Range: [0; 100].
46 # This option will only work if a compositing window manager is
47 # present (e.g. xcompmgr, compiz, etc.).
48 transparency = 16
49
50 # The height of the entire notification. If the height is smaller
51 # than the font height and padding combined, it will be raised
52 # to the font height and padding.
53 notification_height = 0
54
55 # Draw a line of "separator_height" pixel height between two
56 # notifications.
57 # Set to 0 to disable.
58 separator_height = 2
59
60 # Padding between text and separator.
61 padding = 8
62
63 # Horizontal padding.
64 horizontal_padding = 8
65
66 # Defines width in pixels of frame around the notification window.
67 # Set to 0 to disable.
68 frame_width = 1
69
70 # Defines color of the frame around the notification window.
71 frame_color = "#7f3fbf"
72
73 # Define a color for the separator.
74 # possible values are:
75 # * auto: dunst tries to find a color fitting to the background;
76 # * foreground: use the same color as the foreground;
77 # * frame: use the same color as the frame;
78 # * anything else will be interpreted as a X color.
79 separator_color = auto
80
81 # Sort messages by urgency.
82 sort = yes
83
84 # Don't remove messages, if the user is idle (no mouse or keyboard input)
85 # for longer than idle_threshold seconds.
86 # Set to 0 to disable.
87 # A client can set the 'transient' hint to bypass this. See the rules
88 # section for how to disable this if necessary
89 idle_threshold = 120
90
91 ### Text ###
92
93 font = Noto Sans Regular 18
94
95 # The spacing between lines. If the height is smaller than the
96 # font height, it will get raised to the font height.
97 line_height = 0
98
99 # Possible values are:
100 # full: Allow a small subset of html markup in notifications:
101 # <b>bold</b>
102 # <i>italic</i>
103 # <s>strikethrough</s>
104 # <u>underline</u>
105 #
106 # For a complete reference see
107 # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
108 #
109 # strip: This setting is provided for compatibility with some broken
110 # clients that send markup even though it's not enabled on the
111 # server. Dunst will try to strip the markup but the parsing is
112 # simplistic so using this option outside of matching rules for
113 # specific applications *IS GREATLY DISCOURAGED*.
114 #
115 # no: Disable markup parsing, incoming notifications will be treated as
116 # plain text. Dunst will not advertise that it has the body-markup
117 # capability if this is set as a global setting.
118 #
119 # It's important to note that markup inside the format option will be parsed
120 # regardless of what this is set to.
121 markup = yes
122
123 # The format of the message. Possible variables are:
124 # %a appname
125 # %s summary
126 # %b body
127 # %i iconname (including its path)
128 # %I iconname (without its path)
129 # %p progress value if set ([ 0%] to [100%]) or nothing
130 # %n progress value if set without any extra characters
131 # %% Literal %
132 # Markup is allowed
133 format = "<b>%s</b>\n%b"
134
135 # Alignment of message text.
136 # Possible values are "left", "center" and "right".
137 alignment = left
138
139 # Show age of message if message is older than show_age_threshold
140 # seconds.
141 # Set to -1 to disable.
142 show_age_threshold = 60
143
144 # Split notifications into multiple lines if they don't fit into
145 # geometry.
146 word_wrap = yes
147
148 # When word_wrap is set to no, specify where to make an ellipsis in long lines.
149 # Possible values are "start", "middle" and "end".
150 ellipsize = middle
151
152 # Ignore newlines '\n' in notifications.
153 ignore_newline = no
154
155 # Stack together notifications with the same content
156 stack_duplicates = true
157
158 # Hide the count of stacked notifications with the same content
159 hide_duplicate_count = false
160
161 # Display indicators for URLs (U) and actions (A).
162 show_indicators = yes
163
164 ### Icons ###
165
166 # Align icons left/right/off
167 icon_position = left
168
169 # Scale larger icons down to this size, set to 0 to disable
170 max_icon_size = 32
171
172 # Paths to default icons.
173 #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
174 icon_path = /usr/share/icons/Paper/16x16/status/:/usr/share/icons/Paper/16x16/devices/:/usr/share/icons/Paper/16x16/apps/:/usr/share/pixmaps/
175 ### History ###
176
177 # Should a notification popped up from history be sticky or timeout
178 # as if it would normally do.
179 sticky_history = yes
180
181 # Maximum amount of notifications kept in history
182 history_length = 20
183
184 ### Misc/Advanced ###
185
186 # dmenu path.
187 dmenu = /usr/bin/dmenu -p dunst:
188
189 # Browser for opening urls in context menu.
190 browser = /usr/bin/firefox -new-tab
191
192 # Always run rule-defined scripts, even if the notification is suppressed
193 always_run_script = true
194
195 # Define the title of the windows spawned by dunst
196 title = Dunst
197
198 # Define the class of the windows spawned by dunst
199 class = Dunst
200
201 # Print a notification on startup.
202 # This is mainly for error detection, since dbus (re-)starts dunst
203 # automatically after a crash.
204 startup_notification = false
205
206 # Manage dunst's desire for talking
207 # Can be one of the following values:
208 # crit: Critical features. Dunst aborts
209 # warn: Only non-fatal warnings
210 # mesg: Important Messages
211 # info: all unimportant stuff
212 # debug: all less than unimportant stuff
213 verbosity = mesg
214
215 # Define the corner radius of the notification window
216 # in pixel size. If the radius is 0, you have no rounded
217 # corners.
218 # The radius will be automatically lowered if it exceeds half of the
219 # notification height to avoid clipping text and/or icons.
220 corner_radius = 0
221
222 ### Legacy
223
224 # Use the Xinerama extension instead of RandR for multi-monitor support.
225 # This setting is provided for compatibility with older nVidia drivers that
226 # do not support RandR and using it on systems that support RandR is highly
227 # discouraged.
228 #
229 # By enabling this setting dunst will not be able to detect when a monitor
230 # is connected or disconnected which might break follow mode if the screen
231 # layout changes.
232 force_xinerama = false
233
234 ### mouse
235
236 # Defines action of mouse event
237 # Possible values are:
238 # * none: Don't do anything.
239 # * do_action: If the notification has exactly one action, or one is marked as default,
240 # invoke it. If there are multiple and no default, open the context menu.
241 # * close_current: Close current notification.
242 # * close_all: Close all notifications.
243 mouse_left_click = close_current
244 mouse_middle_click = do_action
245 mouse_right_click = close_all
246
247# Experimental features that may or may not work correctly. Do not expect them
248# to have a consistent behaviour across releases.
249[experimental]
250 # Calculate the dpi to use on a per-monitor basis.
251 # If this setting is enabled the Xft.dpi value will be ignored and instead
252 # dunst will attempt to calculate an appropriate dpi value for each monitor
253 # using the resolution and physical size. This might be useful in setups
254 # where there are multiple screens with very different dpi values.
255 per_monitor_dpi = false
256
257[shortcuts]
258
259 # Shortcuts are specified as [modifier+][modifier+]...key
260 # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
261 # "mod3" and "mod4" (windows-key).
262 # Xev might be helpful to find names for keys.
263
264 # Close notification.
265 close = ctrl+space
266
267 # Close all notifications.
268 close_all = ctrl+shift+space
269
270 # Redisplay last message(s).
271 # On the US keyboard layout "grave" is normally above TAB and left
272 # of "1". Make sure this key actually exists on your keyboard layout,
273 # e.g. check output of 'xmodmap -pke'
274 history = ctrl+grave
275
276 # Context menu.
277 context = ctrl+shift+period
278
279[urgency_low]
280 # IMPORTANT: colors have to be defined in quotation marks.
281 # Otherwise the "#" and following would be interpreted as a comment.
282 background = "#28143c"
283 foreground = "#ffffff"
284 timeout = 5
285 # Icon for notifications with low urgency, uncomment to enable
286 icon = /usr/share/icons/Arc-X-D/status/16/dialog-information.png
287
288[urgency_normal]
289 background = "#28143c"
290 foreground = "#ffffff"
291 timeout = 5
292 # Icon for notifications with normal urgency, uncomment to enable
293 icon = /usr/share/icons/Arc-X-D/status/16/dialog-question.png
294
295[urgency_critical]
296 background = "#28143c"
297 foreground = "#ffffff"
298 frame_color = "#ff7f7f"
299 timeout = 120
300 # Icon for notifications with critical urgency, uncomment to enable
301 icon = /usr/share/icons/Arc-X-D/status/16/dialog-warning.png
302
303# Every section that isn't one of the above is interpreted as a rules to
304# override settings for certain messages.
305#
306# Messages can be matched by
307# appname (discouraged, see desktop_entry)
308# body
309# category
310# desktop_entry
311# icon
312# match_transient
313# msg_urgency
314# stack_tag
315# summary
316#
317# and you can override the
318# background
319# foreground
320# format
321# frame_color
322# fullscreen
323# new_icon
324# set_stack_tag
325# set_transient
326# timeout
327# urgency
328#
329# Shell-like globbing will get expanded.
330#
331# Instead of the appname filter, it's recommended to use the desktop_entry filter.
332# GLib based applications export their desktop-entry name. In comparison to the appname,
333# the desktop-entry won't get localized.
334#
335# SCRIPTING
336# You can specify a script that gets run when the rule matches by
337# setting the "script" option.
338# The script will be called as follows:
339# script appname summary body icon urgency
340# where urgency can be "LOW", "NORMAL" or "CRITICAL".
341#
342# NOTE: if you don't want a notification to be displayed, set the format
343# to "".
344# NOTE: It might be helpful to run dunst -print in a terminal in order
345# to find fitting options for rules.
346
347# Disable the transient hint so that idle_threshold cannot be bypassed from the
348# client
349#[transient_disable]
350# match_transient = yes
351# set_transient = no
352#
353# Make the handling of transient notifications more strict by making them not
354# be placed in history.
355#[transient_history_ignore]
356# match_transient = yes
357# history_ignore = yes
358
359# fullscreen values
360# show: show the notifications, regardless if there is a fullscreen window opened
361# delay: displays the new notification, if there is no fullscreen window active
362# If the notification is already drawn, it won't get undrawn.
363# pushback: same as delay, but when switching into fullscreen, the notification will get
364# withdrawn from screen again and will get delayed like a new notification
365#[fullscreen_delay_everything]
366# fullscreen = delay
367#[fullscreen_show_critical]
368# msg_urgency = critical
369# fullscreen = show
370
371#[espeak]
372# summary = "*"
373# script = dunst_espeak.sh
374
375#[script-test]
376# summary = "*script*"
377# script = dunst_test.sh
378
379#[ignore]
380# # This notification will not be displayed
381# summary = "foobar"
382# format = ""
383
384#[history-ignore]
385# # This notification will not be saved in history
386# summary = "foobar"
387# history_ignore = yes
388
389#[skip-display]
390# # This notification will not be displayed, but will be included in the history
391# summary = "foobar"
392# skip_display = yes
393
394#[signed_on]
395# appname = Pidgin
396# summary = "*signed on*"
397# urgency = low
398#
399#[signed_off]
400# appname = Pidgin
401# summary = *signed off*
402# urgency = low
403#
404#[says]
405# appname = Pidgin
406# summary = *says*
407# urgency = critical
408#
409#[twitter]
410# appname = Pidgin
411# summary = *twitter.com*
412# urgency = normal
413#
414#[stack-volumes]
415# appname = "some_volume_notifiers"
416# set_stack_tag = "volume"
417#
418# vim: ft=cfg
Powered by cgit v1.2.3 (git 2.41.0)