# @see https://github.com/dunst-project/dunst/blob/master/dunstrc

[global]
    # Position

    origin = top-right
    offset = 16x48

    shrink = yes

    # Display 

    monitor = 0
    follow = mouse

    # History

    sticky_history = yes
    history_length = 20


    # Timings

    show_age_threshold = 60
    idle_threshold = 120 

    # Tuning

    sort = yes

    hide_duplicate_count = yes
    indicate_hidden = yes
    show_indicators = no

    startup_notification = false

    # Borders

    frame_width = 2
    frame_color = "#cdcdcd"

    gap_size = 0

    separator_height = 2
    separator_color = "#cdcdcd"

    # Paddings

    padding = 16
    horizontal_padding = 12

    # Progress bar

    highlight = "#cdcdcd"

    progress_bar = true
    progress_bar_height = 8
    progress_bar_frame_width = 0
    progress_bar_min_width = 300

    # Content
    
    font = Noto Sans 11

    alignment = left
    word_wrap = yes
    ignore_newline = no
    transparency = 0
    line_height = 0

    icon_position = off

    # Possible values are:
    # full: Allow a small subset of html markup in notifications:
    #        <b>bold</b>
    #        <i>italic</i>
    #        <s>strikethrough</s>
    #        <u>underline</u>
    #
    #        For a complete reference see
    #        <https://docs.gtk.org/Pango/pango_markup.html>.
    #
    # strip: This setting is provided for compatibility with some broken
    #        clients that send markup even though it's not enabled on the
    #        server. Dunst will try to strip the markup but the parsing is
    #        simplistic so using this option outside of matching rules for
    #        specific applications *IS GREATLY DISCOURAGED*.
    #
    # no:    Disable markup parsing, incoming notifications will be treated as
    #        plain text. Dunst will not advertise that it has the body-markup
    #        capability if this is set as a global setting.
    #
    # It's important to note that markup inside the format option will be parsed
    # regardless of what this is set to.
    markup = full
    
    # The format of the message.  Possible variables are:
    #   %a  appname
    #   %s  summary
    #   %b  body
    #   %i  iconname (including its path)
    #   %I  iconname (without its path)
    #   %p  progress value if set ([  0%] to [100%]) or nothing
    #   %n  progress value if set without any extra characters
    #   %%  Literal %
    # Markup is allowed
    format = "<b>%s %n\n</b>\n%b\n"

[urgency_low]
    background = "#222222"
    foreground = "#cdcdcd"
    timeout = 5

[urgency_normal]
    background = "#222222"
    foreground = "#cdcdcd"
    timeout = 8

[urgency_critical]
    background = "#444444"
    foreground = "#cdcdcd"
    timeout = 0

[change-format]
    appname = dunstify
    format = "<b>%s\n</b>\n%b\n"

# vim: ft=cfg
