From: Amin Bandali Date: Sun, 20 Nov 2022 03:23:05 +0000 (-0500) Subject: * .config/dunst/dunstrc: Update according to v1.5.0. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/bd82e1442a9f3d4cbdb970f4e5128e2d5e68f37d?ds=sidebyside;hp=093efbaf0b2d237e6d552738da89c7752c319475 * .config/dunst/dunstrc: Update according to v1.5.0. --- diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 71af98b..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.