vincentbernat.i3wm-configur.../dotfiles/dunstrc
2024-12-21 09:51:50 +01:00

95 lines
2.6 KiB
Text

[global]
# Display on first monitor
monitor = 0
follow = none
# Appearance
width = 400
offset = (5, 17)
origin = top-right
indicate_hidden = yes
shrink = no
notification_limit = 6
separator_height = 2
separator_color = frame
padding = 8
horizontal_padding = 8
text_icon_padding = 8
frame_width = 2
frame_color = "#4c7899"
transparency = 5
font = Cantarell 10
line_height = 0
corner_radius = 5
icon_corner_radius = 5
# Put urgent notifications on top
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
idle_threshold = 60
# Don't show age of old messages
show_age_threshold = -1
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
markup = full
alignment = left
vertical_alignment = top
word_wrap = no
ellipsize = end
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
show_indicators = no
# Progress bar
progress_bar = true
# Icons
icon_position = left
min_icon_size = 32
max_icon_size = 32
# echo /usr/share/icons/{Adwaita,gnome}/{512x512,256x256,48x48}/{devices,status}(N) | tr ' ' ':'
icon_path = /usr/share/icons/Adwaita/512x512/devices:/usr/share/icons/Adwaita/512x512/status:/usr/share/icons/Adwaita/256x256/status:/usr/share/icons/Adwaita/48x48/devices:/usr/share/icons/Adwaita/48x48/status:/usr/share/icons/gnome/256x256/devices:/usr/share/icons/gnome/256x256/status:/usr/share/icons/gnome/48x48/devices:/usr/share/icons/gnome/48x48/status:/home/bernat/.nix-profile/share/icons/hicolor/64x64/apps
# History
sticky_history = yes
history_length = 20
# Misc
dmenu = rofi -dmenu -p dunst
browser = /usr/bin/xdg-open
always_run_script = true
title = Dunst
class = Dunst
ignore_dbusclose = false
# Mouse
mouse_left_click = do_action
mouse_middle_click = close_current
mouse_right_click = close_current
[urgency_low]
background = "#222222"
foreground = "#888888"
timeout = 10
[urgency_normal]
background = "#222222"
foreground = "#ffffff"
timeout = 10
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
timeout = 0