Tighten dunst config, add progress bar support

This commit is contained in:
Salt 2024-02-15 03:20:51 -06:00
parent 9e1482604f
commit d2a965a972

View File

@ -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