# customized dunst setup from EndeavourOS i3
# https://github.com/endeavouros-team/endeavouros-i3wm-setup
# See dunst(5) for all configuration options

[global]
    ### Display ###
    monitor = 2

    follow = none

    ### Geometry ###
    width = 300
    
    # dynamic height from 0 to 300
    # The maximum height of a single notification, excluding the frame.
    height = (0, 300)

    # Position the notification in the top right corner
    origin = bottom-right

    # Offset from the origin
    offset = (30, 40)

    # Scale factor. It is auto-detected if value is 0.
    scale = 0
    notification_limit = 5

    ### Progress bar ###
    progress_bar = true
    progress_bar_height = 10
    progress_bar_frame_width = 1
    progress_bar_min_width = 150
    progress_bar_max_width = 300
    progress_bar_corner_radius = 0
    progress_bar_corners = all
    icon_corner_radius = 0
    icon_corners = all
    indicate_hidden = yes
    transparency = 16
    separator_height = 2
    padding = 8
    horizontal_padding = 8
    text_icon_padding = 0
    frame_width = 1
    frame_color = "#7f3fbf"
    gap_size = 0
    separator_color = auto
    sort = yes
    idle_threshold = 0

    ### Text ###
    font = Noto Sans Regular 9
    line_height = 0
    markup = full
    format = "<b>%s</b>\n%b"
    alignment = left
    vertical_alignment = center
    show_age_threshold = 60
    ellipsize = middle
    ignore_newline = no
    stack_duplicates = true
    hide_duplicate_count = true
    show_indicators = no

    ### Icons ###
    icon_position = left
    min_icon_size = 0
    max_icon_size = 32
    icon_path = /usr/share/icons/Qogir/16/status:/usr/share/icons/Qogir/16/devices/:/usr/share/icons/Qogir/24/panel/:/usr/share/icons/Qogir/16/apps/:/usr/share/pixmaps/:/usr/share/icons/Qogir/scalable/apps/
    
    ### History ###
    sticky_history = false
    history_length = 0

    ### Misc/Advanced ###
    dmenu = /usr/bin/dmenu -p dunst:
    browser = /usr/bin/xdg-open
    always_run_script = true
    title = Dunst
    class = Dunst
    corner_radius = 7
    corners = all
    ignore_dbusclose = false

    ### Legacy
    force_xinerama = false

    ### mouse
    mouse_left_click = close_current
    mouse_middle_click = do_action, close_current
    mouse_right_click = close_all

[experimental]
    per_monitor_dpi = false


[urgency_low]
    background = "#28143c"
    foreground = "#ffffff"
    timeout = 5
    icon = /usr/share/icons/Qogir/16/status/package-installed-outdated.svg

[urgency_normal]
    background = "#28143c"
    foreground = "#ffffff"
    timeout = 5
    override_pause_level = 30
    icon = /usr/share/icons/Qogir/16/emblems/emblem-question.svg

[urgency_critical]
    background = "#28143c"
    foreground = "#ffffff"
    frame_color = "#ff7f7f"
    timeout = 120
    icon = /usr/share/icons/Qogir/16/actions/dialog-warning.svg

[stack-volumes]
    appname = "some_volume_notifiers"
    set_stack_tag = "volume"
