dotfiles

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