update dunstrc

This commit is contained in:
2022-01-29 13:19:13 +01:00
parent 60aa55d8ae
commit ffc7b68f7b

236
dunstrc
View File

@@ -9,168 +9,84 @@
######################################### #########################################
[global] [global]
# Font # Font
font = Roboto 10 font = IBM Plex Mono
# Allow a small subset of html markup: # Allow a small subset of html markup:
markup = yes markup = yes
# The format of the message. # The format of the message.
format = "%s %p\n%b" format = "%s %p\n%b"
# Sort messages by urgency. # Sort messages by urgency.
sort = yes sort = yes
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes indicate_hidden = yes
# Alignment of message text. # Alignment of message text.
alignment = left alignment = left
# The frequency with wich text that is longer than the notification # Show age of message if message is older than show_age_threshold
bounce_freq = 5 show_age_threshold = 60
# Show age of message if message is older than show_age_threshold # Split notifications into multiple lines if they don't fit
show_age_threshold = 60 word_wrap = no
# Split notifications into multiple lines if they don't fit # Ignore newlines '\n' in notifications.
word_wrap = no ignore_newline = no
# Ignore newlines '\n' in notifications. # Shrink window if it's smaller than the width.
ignore_newline = no shrink = yes
# The geometry of the window: [{width}]x{height}[+/-{x}+/-{y}] # The transparency of the window. Range: [0; 100].
geometry = "0x4-50+50" transparency = 15
# Shrink window if it's smaller than the width. # Don't remove messages, if the user is idle (no mouse or keyboard input)
shrink = yes idle_threshold = 120
# The transparency of the window. Range: [0; 100]. # Which monitor should the notifications be displayed on.
transparency = 15 monitor = 0
# Don't remove messages, if the user is idle (no mouse or keyboard input) # Display notification on focused monitor.
idle_threshold = 120 follow = mouse
# Which monitor should the notifications be displayed on. # Should a notification popped up from history be sticky or timeout
monitor = 0 sticky_history = yes
# Display notification on focused monitor. # Maximum amount of notifications kept in history
follow = mouse history_length = 20
# Should a notification popped up from history be sticky or timeout # Display indicators for URLs (U) and actions (A).
sticky_history = yes show_indicators = yes
# Maximum amount of notifications kept in history # The height of a single line.
history_length = 20 line_height = 0
# Display indicators for URLs (U) and actions (A). # Draw a line of "separator_height" pixel height between two
show_indicators = yes separator_height = 1
# The height of a single line. # Padding between text and separator.
line_height = 0 padding = 10
# Draw a line of "separator_height" pixel height between two # Horizontal padding.
separator_height = 1 horizontal_padding = 10
# Padding between text and separator. # Define a color for the separator.
padding = 10 separator_color = auto
# Horizontal padding. # dmenu path.
horizontal_padding = 10 dmenu = /usr/bin/dmenu -p dunst:
# Define a color for the separator. # Browser for opening urls in context menu.
separator_color = auto browser = palemoon
# Print a notification on startup. # Align icons left/right/off
startup_notification = false icon_position = left
# dmenu path. # Paths to default icons.
dmenu = /usr/bin/dmenu -p dunst: icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
# Browser for opening urls in context menu. # Frame width
browser = palemoon frame_width = 3
# Align icons left/right/off
icon_position = left
# Paths to default icons.
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
# Frame width
frame_width = 3
# Frame color
frame_color = "#2aa198"
[shortcuts] frame_color = "#d5c4a1"
# Close notification. separator_color = "#d5c4a1"
close = mod1+space
# Close all notifications.
close_all = ctrl+mod1+space
# Redisplay last message(s).
history = ctrl+mod4+h
# Context menu.
context = ctrl+mod1+c
[urgency_low] [base16_low]
background = "#1c5b98" msg_urgency = low
foreground = "#c9c1c7" background = "#3c3836"
timeout = 10 foreground = "#665c54"
[urgency_normal] [base16_normal]
background = "#1c5b98" msg_urgency = normal
foreground = "#c9c1c7" background = "#504945"
timeout = 10 foreground = "#d5c4a1"
[urgency_critical] [base16_critical]
background = "#43d5f2" msg_urgency = critical
foreground = "#c9c1c7" background = "#fb4934"
timeout = 0 foreground = "#ebdbb2"
[spotify]
# Every section that isn't one of the above is interpreted as a rules to appname = Spotify*
# override settings for certain messages. format = "<b> Now Playing:</b>\n%s\n%b"
# Messages can be matched by "appname", "summary", "body", "icon", "category", background = "#1d2021"
# "msg_urgency" and you can override the "timeout", "urgency", "foreground", foreground = "#ebdbb2"
# "background", "new_icon" and "format". frame_color = "#1db954"
# Shell-like globbing will get expanded. timeout = 5
# script = spotup
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[Claws Mail]
# appname = claws-mail
# category = email.arrived
# urgency = normal
# background = "#2F899E"
# foreground = "#FFA247"
#
#[mute.sh]
# appname = mute
# category = mute.sound
# script = mute.sh
#
#[JDownloader]
# appname = JDownloader
# category = JD
# background = "#FFA247"
# foreground = "#FFFFFF"
#
#[newsbeuter]
# summary = *Feeds*
# background = "#A8EB41"
# foreground = "#FFFFFF"
#
# vim: ft=cfg