X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/85481fb13588a1689d584743d39c666ba8ed8424..c361e41e77aa99a606d407f03aac86e8530481a7:/.config/dunst/dunstrc?ds=sidebyside diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 7380ddf..685e498 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -86,7 +86,7 @@ ### Text ### - font = Monospace 8 + font = Inconsolata 11 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. @@ -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 @@ -175,7 +184,7 @@ sticky_history = yes # Maximum amount of notifications kept in history - history_length = 20 + history_length = 50 ### Misc/Advanced ### @@ -183,7 +192,7 @@ dmenu = /usr/bin/dmenu -p dunst: # Browser for opening urls in context menu. - browser = /usr/bin/firefox -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,15 +244,17 @@ ### 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. + # 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 + 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 @@ -277,14 +294,15 @@ # Otherwise the "#" and following would be interpreted as a comment. background = "#222222" foreground = "#888888" - timeout = 10 + timeout = 0 + history_ignore = yes # Icon for notifications with low urgency, uncomment to enable #icon = /path/to/icon [urgency_normal] background = "#285577" foreground = "#ffffff" - timeout = 10 + timeout = 0 # Icon for notifications with normal urgency, uncomment to enable #icon = /path/to/icon