From d2a965a972edc74c21da2de48961fc49f807538c Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Thu, 15 Feb 2024 03:20:51 -0600 Subject: [PATCH] Tighten dunst config, add progress bar support --- sericea/.config/dunst/dunstrc | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/sericea/.config/dunst/dunstrc b/sericea/.config/dunst/dunstrc index 5211f6d8..3c0eff4f 100644 --- a/sericea/.config/dunst/dunstrc +++ b/sericea/.config/dunst/dunstrc @@ -12,6 +12,7 @@ show_indicators = true # Show hints for interactable notifs sort = true # Sort messages by urgency. stack_duplicates = true + timeout = 10 # Time in seconds before the thing fades ## MISC CONFIGURATION always_run_script = true # Runs scripts for rules even if they're hidden @@ -27,23 +28,33 @@ history_length = 20 # Buffer size ## LOOKS + # COLORS + # Note that rules defined later on can and will override these + # All colors must be quoted so as to not misinterpret as comments + background= "#fbf1c7" # Background of the notification + frame_color = "#f2e5bc" + separator_color = frame + foreground = "#3c3836" # Font color, for body and title + highlight = "#b8bb26" # Progress bars # SIZE AND POSITIONING - width = 600 + width = 400 height = 300 offset = 8x8 # This takes into account any bars corner_radius = 0 transparency = 0 + # PROGRESS BAR + progress_bar = true + progress_bar_horizontal_alignment = left + progress_bar_frame_width = 2 + progress_bar_height = 8 # INTERIOR FORMATTING frame_width = 6 # Defines width in pixels of frame horizontal_padding = 12 # Horizontal padding. padding = 12 # Padding between text and separator. separator_height = 4 - # COLORS - frame_color = "#f2e5bc" - separator_color = frame # TEXT alignment = left - font = IBM Plex Sans 12 + font = IBM Plex Sans 10 line_height = 0 word_wrap = yes # ICONS @@ -51,19 +62,5 @@ icon_position = right max_icon_size = 48 -# IMPORTANT: colors have to be defined in quotation marks. -# Otherwise the "#" and following would be interpreted as a comment. -[urgency_low] - background = "#fbf1c7" - foreground = "#3c3836" - timeout = 10 - -[urgency_normal] - background = "#fbf1c7" - foreground = "#3c3836" - timeout = 10 - [urgency_critical] - background = "#fbf1c7" foreground = "#fb4934" - timeout = 0