dotfiles/dotfiles/dunst/dunstrc

220 lines
No EOL
5.9 KiB
Text

[global]
font = "Product Sans"
# Allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough<s/>
# <u>underline</u>
#
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
# If markup is not allowed, those tags will be stripped out of the message.
allow_markup = yes
# 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
# Markup is allowed
format = "<b>%s</b>\n%b"
# Sort messages by urgency
sort = yes
# Show how many messages are currently hidden (because of geometry)
indicate_hidden = yes
# Alignment of message text.
# Possible values are "left", "center" and "right"
alignment = left
# The frequency with wich text that is longer than the notification
# window allows bounces back and forth.
# This option conflicts with 'word_wrap'.
# Set to 0 to disable
bounce_freq = 0
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Show age of message if message is older than show_age_threshold seconds.
# set to -1 to disable
show_age_threshold = -1
# Split notifications into multiple lines if they don't fit into geometry
word_wrap = yes
# Ignore newlines '\n' in notifications
ignore_newline = no
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 320
# The maximum height of a single notification, excluding the frame.
height = 500
# Position of the notification
origin = top-right
# Offset from the origin
offset = 10x12
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 14
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Frame
frame_width = 3
frame_color = "#1C2325"
# The transparency of the window. range: [0; 100]
# This option will only work if a compositing windowmanager is present (e.g. xcompmgr, compiz, etc..)
transparency = 0
# 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.
idle_threshold = 0
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a windowmanager that exports the _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern windowmanagers.
#
# If this option is set to mouse or keyboard, the monitor option will be
# ignored.
follow = none
# Display indicators for URLs (U) and actions (A).
show_indicators = no
# Should a notification popped up from history be sticky or
# timeout as if it would normally do.
sticky_history = yes
# The height of a single line. If the height is smaller than the font height,
# it will get raised to the font height.
# This adds empty space above and under the text.
line_height = 8
# Draw a line of 'separatpr_height' pixel height between two notifications.
# Set to 0 to disable
separator_height = 3
# Padding between text and separator
padding = 16
# Horizontal padding
horizontal_padding = 12
# Padding between text and icon.
text_icon_padding = 16
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background
# * foreground: use the same color as the foreground
# * frame: use the same color as the frame.
# * anything else will be interpreted as a X color
separator_color = frame
# Print a notification on startup
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 48
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 17
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Mouse actions
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
[songArtLogger]
script = ~/.config/dunst/scripts/songArtLogger.sh
[urgency_low]
timeout = 6
background = "#0d0f16"
foreground = "#CDD6F4"
frame_color = "#191d24"
highlight = "#7ba5dd"
[urgency_normal]
# script = ~/.config/dunst/scripts/playNotificationSound.sh
timeout = 6
background = "#0d0f16"
foreground = "#CDD6F4"
frame_color = "#0d0f16"
highlight = "#7ba5dd"
[urgency_critical]
script = ~/.config/dunst/scripts/playNotificationSound.sh
timeout = 6
background = "#0d0f16"
foreground = "#CDD6F4"
frame_color = "#0d0f16"
highlight = "#ee6a70"
[backlight]
summary = "Backlight"
highlight = "#ffb29b"
set_stack_tag = "backlight"
[volume]
summary = "Volume"
set_stack_tag = "volume"
[volume-muted]
summary = "Volume Muted"
highlight = "#ee6a70"
[volume-unmuted]
summary = "Volume Unmuted"
highlight = "#ee6a70"