mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-11 19:17:19 +10:00
208 lines
6.3 KiB
Plaintext
208 lines
6.3 KiB
Plaintext
# See dunst(5) for all configuration options
|
|
|
|
[global]
|
|
### Display ###
|
|
|
|
# Which monitor should the notifications be displayed on.
|
|
monitor = 0
|
|
|
|
# Display notification on focused monitor. Possible modes are:
|
|
# mouse: follow mouse pointer
|
|
# keyboard: follow window with keyboard focus
|
|
# none: don't follow anything
|
|
#
|
|
# "keyboard" needs a window manager that exports the
|
|
# _NET_ACTIVE_WINDOW property.
|
|
# This should be the case for almost all modern window managers.
|
|
#
|
|
# If this option is set to mouse or keyboard, the monitor option
|
|
# will be ignored.
|
|
follow = none
|
|
|
|
### Geometry ###
|
|
|
|
# dynamic width from 0 to 300
|
|
# width = (0, 300)
|
|
# constant width of 300
|
|
width = 300
|
|
height = 300
|
|
origin = top-right
|
|
offset = 10x50
|
|
scale = 0
|
|
notification_limit = 20
|
|
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
|
|
|
|
# Corner radius for the icon image.
|
|
icon_corner_radius = 0
|
|
|
|
# Show how many messages are currently hidden (because of
|
|
# notification_limit).
|
|
indicate_hidden = yes
|
|
|
|
# The transparency of the window. Range: [0; 100].
|
|
transparency = 0
|
|
|
|
# Draw a line of "separator_height" pixel height between two
|
|
# notifications.
|
|
# Set to 0 to disable.
|
|
# If gap_size is greater than 0, this setting will be ignored.
|
|
separator_height = 2
|
|
|
|
# Padding between text and separator.
|
|
padding = 8
|
|
|
|
# Horizontal padding.
|
|
horizontal_padding = 8
|
|
|
|
# Padding between text and icon.
|
|
text_icon_padding = 0
|
|
|
|
frame_width = 2
|
|
frame_color = "#aaaaaa"
|
|
gap_size = 0
|
|
separator_color = frame
|
|
sort = yes
|
|
font = Ubuntu 10
|
|
|
|
# The spacing between lines. If the height is smaller than the
|
|
# font height, it will get raised to the font height.
|
|
line_height = 1
|
|
|
|
# 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</b>\n%b"
|
|
|
|
alignment = left
|
|
vertical_alignment = top
|
|
show_age_threshold = 60
|
|
ellipsize = middle
|
|
ignore_newline = no
|
|
stack_duplicates = true
|
|
hide_duplicate_count = false
|
|
show_indicators = yes
|
|
|
|
### Icons ###
|
|
|
|
enable_recursive_icon_lookup = true
|
|
icon_theme = Adwaita
|
|
icon_position = left
|
|
min_icon_size = 32
|
|
max_icon_size = 128
|
|
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
|
|
|
### History ###
|
|
sticky_history = yes
|
|
history_length = 20
|
|
|
|
### Misc/Advanced ###
|
|
|
|
dmenu = /usr/bin/dmenu -p dunst:
|
|
browser = /usr/bin/xdg-open
|
|
always_run_script = true
|
|
title = Dunst
|
|
class = Dunst
|
|
corner_radius = 0
|
|
|
|
# Ignore the dbus closeNotification message.
|
|
# Useful to enforce the timeout set by dunst configuration. Without this
|
|
# parameter, an application may close the notification sent before the
|
|
# user defined timeout.
|
|
ignore_dbusclose = false
|
|
|
|
### Wayland ###
|
|
# These settings are Wayland-specific. They have no effect when using X11
|
|
|
|
# Uncomment this if you want to let notications appear under fullscreen
|
|
# applications (default: overlay)
|
|
# layer = top
|
|
|
|
# Set this to true to use X11 output on Wayland.
|
|
force_xwayland = false
|
|
|
|
### Legacy
|
|
force_xinerama = false
|
|
|
|
### mouse
|
|
|
|
# Defines list of actions for each mouse event
|
|
# Possible values are:
|
|
# * none: Don't do anything.
|
|
# * do_action: Invoke the action determined by the action_name rule. If there is no
|
|
# such action, open the context menu.
|
|
# * open_url: If the notification has exactly one url, open it. If there are multiple
|
|
# ones, open the context menu.
|
|
# * close_current: Close current notification.
|
|
# * close_all: Close all notifications.
|
|
# * context: Open context menu for the notification.
|
|
# * context_all: Open context menu for all notifications.
|
|
# These values can be strung together for each mouse event, and
|
|
# will be executed in sequence.
|
|
mouse_left_click = close_current
|
|
mouse_middle_click = do_action, close_current
|
|
mouse_right_click = close_all
|
|
|
|
# Experimental features that may or may not work correctly. Do not expect them
|
|
# to have a consistent behaviour across releases.
|
|
[experimental]
|
|
# Calculate the dpi to use on a per-monitor basis.
|
|
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
|
# dunst will attempt to calculate an appropriate dpi value for each monitor
|
|
# using the resolution and physical size. This might be useful in setups
|
|
# where there are multiple screens with very different dpi values.
|
|
per_monitor_dpi = false
|
|
|
|
[urgency_low]
|
|
background = "#1d1f21"
|
|
foreground = "#ededed"
|
|
frame_color = "#70c0ba"
|
|
timeout = 10
|
|
|
|
[urgency_normal]
|
|
background = "#1d1f21"
|
|
foreground = "#ededed"
|
|
frame_color = "#70c0ba"
|
|
timeout = 10
|
|
|
|
[urgency_critical]
|
|
background = "#1d1f21"
|
|
foreground = "#ededed"
|
|
frame_color = "#cc6666"
|
|
timeout = 0
|