From 52dbe8175d418ab8bbf124133802a3f7c9c62bfc Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 22 Jun 2022 09:29:07 +0200 Subject: [PATCH] Update dunst config --- home/.config/dunst/dunstrc | 41 ++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/home/.config/dunst/dunstrc b/home/.config/dunst/dunstrc index 8a5bfb4..59f3213 100644 --- a/home/.config/dunst/dunstrc +++ b/home/.config/dunst/dunstrc @@ -41,7 +41,7 @@ notification_limit = 0 ### Progress bar ### - + # Turn on the progress bar. It appears when a progress hint is passed # with for example dunstify -h int:value:12 progress_bar = true @@ -73,10 +73,10 @@ separator_height = 2 # Padding between text and separator. - padding = 0 + padding = 10 # Horizontal padding - horizontal_padding = 0 + horizontal_padding = 10 # Padding between text and icon. text_icon_padding = 0 @@ -106,7 +106,7 @@ idle_threshold = 120 ### Text ### - font = Monospace 12 + font = JetBrains Mono 11 # The spacing between the lines. If the height is smaller than the # font height, it will get raised to the font height. @@ -146,7 +146,7 @@ # %n progress value if set without any extra characters # %% Literal % # Markup is allowed - format = "%s\n%b" + format = "%a - %s\n%b" # Alignment of the message text. # Possible values are "left", "center" and "right". @@ -156,9 +156,9 @@ # 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, 0 to always show. - show_age_threshold = 60 + # Wrap longer sentences which don't fit into the horizonal size + # of the noticication. If set to no, longer sententences will be truncated + word_wrap = yes # Specify where to make an ellipsis in the long lines. # Possible values are "start", "middle", "end". @@ -167,6 +167,10 @@ # Ignore newlines '\n' in notifications. ignore_newline = no + # Show age of message if message is older than show_age_threshold seconds + # Set to -1 to disable, 0 to always show. + show_age_threshold = 60 + # Merge multiple notifications with the same content stack_duplicates = true @@ -268,7 +272,7 @@ # * 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 = open_url, do_action, close_current + mouse_left_click = do_action, open_url, close_current mouse_middle_click = context mouse_right_click = close_current @@ -283,26 +287,33 @@ per_monitor_dpi = false [urgency_low] - background = "#35383b" - foreground = "#fcf7e2" + highlight = "#fe6c5a" + background = "#1e2137fa" frame_color = "#27292c" + foreground = "#ffffff" + timeout = 5 # Icon for notifications with low urgency, uncomment to enable #icon = /path/to/icon [urgency_normal] - background = "#35383b" - foreground = "#dffebe" + highlight = "#fe6c5a" + background = "#141c21fa" frame_color = "#27292c" + foreground = "#ffffffff" + timeout = 10 # Icon for notifications with normal urgency, uncomment to enable #icon = /path/to/icon [urgency_critical] - background = "#35383b" - foreground = "#d27c7b" + highlight = "#fe6c5a" + background = "#dd130ddd" frame_color = "#27292c" + foreground = "#ffffffff" + timeout = 0 + icon = arbt # Icon for notifications with critical urgency, uncomment to enable #icon = /path/to/icon