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