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