dotfiles/files/dunst.conf

173 lines
3.9 KiB
Text
Raw Normal View History

2018-03-19 22:01:55 +00:00
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
follow = none
2018-03-19 22:01:55 +00:00
geometry = "500x5+20+20"
2019-05-12 18:17:27 +01:00
2018-03-19 22:01:55 +00:00
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = yes
2018-03-19 22:01:55 +00:00
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 10
2018-03-19 22:01:55 +00:00
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
2018-03-19 22:01:55 +00:00
# Padding between text and separator.
padding = 8
2018-03-19 22:01:55 +00:00
# Horizontal padding.
horizontal_padding = 8
2018-03-19 22:01:55 +00:00
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 1
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
separator_color = auto
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
2018-03-19 22:01:55 +00:00
idle_threshold = 120
### Text ###
font = Monospace 9
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
markup = full
2018-03-19 22:01:55 +00:00
format = "<b>%s %p</b>\n%b"
alignment = left
show_age_threshold = 120
2018-03-19 22:01:55 +00:00
word_wrap = yes
ellipsize = middle
ignore_newline = no
2018-03-19 22:01:55 +00:00
# Stack together notifications with the same content
2018-03-19 22:01:55 +00:00
stack_duplicates = true
# Hide the count of stacked notifications with the same content
2018-03-19 22:01:55 +00:00
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
2019-05-12 18:17:27 +01:00
show_indicators = no
2018-03-19 22:01:55 +00:00
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale larger icons down to this size, set to 0 to disable
2019-05-12 18:17:27 +01:00
max_icon_size = 16
2018-03-19 22:01:55 +00:00
# Paths to default icons.
2019-05-12 18:17:27 +01:00
icon_path = /usr/share/icons/Numix/16/status/:/usr/share/icons/Numix/16/devices/
2018-03-19 22:01:55 +00:00
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
2018-03-19 22:01:55 +00:00
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
startup_notification = false
2019-05-12 18:17:27 +01:00
verbosity = info
corner_radius = 0
### Legacy
force_xinerama = false
### mouse
mouse_left_click = close_current
mouse_middle_click = close_all
mouse_right_click = do_action
2018-03-19 22:01:55 +00:00
[experimental]
per_monitor_dpi = false
[shortcuts]
# Close notification.
close = mod4+m
# Close all notifications.
close_all = mod4+shift+m
# Redisplay last message(s).
2018-10-10 09:08:30 +01:00
history = mod4+shift+comma
2018-03-19 22:01:55 +00:00
# Context menu.
context = mod4+shift+period
[urgency_low]
background = "#222222"
foreground = "#888888"
timeout = 10
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
timeout = 10
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0