X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/8f721161a933988f6402a68ac595607bfa062ce7..e5b52a9a73e8c7018d20107eb7009296e2dae155:/.config/dunst/dunstrc
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index ca65f1d..685e498 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -100,7 +100,7 @@
# underline
#
# For a complete reference see
- # .
+ # .
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
@@ -132,6 +132,10 @@
# Possible values are "left", "center" and "right".
alignment = left
+ # Vertical alignment of message text and icon.
+ # Possible values are "top", "center" and "bottom".
+ vertical_alignment = center
+
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
@@ -160,7 +164,12 @@
### Icons ###
# Align icons left/right/off
- icon_position = off
+ icon_position = right
+
+ # Scale small icons up to this size, set to 0 to disable. Helpful
+ # for e.g. small files or high-dpi screens. In case of conflict,
+ # max_icon_size takes precedence over this.
+ min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
@@ -180,10 +189,10 @@
### Misc/Advanced ###
# dmenu path.
- dmenu = rofi -dmenu -p dunst:
+ dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
- browser = icecat -private-window -new-tab
+ browser = /usr/bin/sensible-browser
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
@@ -215,6 +224,12 @@
# notification height to avoid clipping text and/or icons.
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
+
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
@@ -229,16 +244,18 @@
### mouse
- # Defines action of mouse event
+ # Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default,
# invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
- mouse_left_click = do_action
- mouse_middle_click = close_all
- mouse_right_click = close_current
+ # 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.
@@ -278,6 +295,7 @@
background = "#222222"
foreground = "#888888"
timeout = 0
+ history_ignore = yes
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon