Adjust Dunst configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-01-09 16:41:56 +01:00
parent 318ceeaa3b
commit 4e3ba31634
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

View file

@ -10,7 +10,35 @@
# USAGE: # USAGE:
# This file is automatically used by dunst. # This file is automatically used by dunst.
[global] [global]
font = Noto Sans 12 # dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 500
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 10x0
notification_limit = 7
vertical_alignment = top
# Align icons left/right/off
icon_position = right
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
min_icon_size = 96
max_icon_size = 96
font = Iosevka Nerd Font 12
# Allow a small subset of html markup: # Allow a small subset of html markup:
# <b>bold</b> # <b>bold</b>
@ -62,19 +90,6 @@ word_wrap = yes
# Ignore newlines '\n' in notifications. # Ignore newlines '\n' in notifications.
ignore_newline = no ignore_newline = no
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectevly.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "500x25-10+45"
# Shrink window if it's smaller than the width. Will be ignored if # Shrink window if it's smaller than the width. Will be ignored if
# width is 0. # width is 0.
@ -114,7 +129,7 @@ sticky_history = yes
history_length = 50 history_length = 50
# Display indicators for URLs (U) and actions (A). # Display indicators for URLs (U) and actions (A).
show_indicators = yes show_indicators = no
# The height of a single line. If the height is smaller than the # The height of a single line. If the height is smaller than the
# font height, it will get raised to the font height. # font height, it will get raised to the font height.
@ -124,7 +139,7 @@ line_height = 0
# Draw a line of "separatpr_height" pixel height between two # Draw a line of "separatpr_height" pixel height between two
# notifications. # notifications.
# Set to 0 to disable. # Set to 0 to disable.
separator_height = 0 separator_height = 10
# Padding between text and separator. # Padding between text and separator.
padding = 16 padding = 16
@ -141,11 +156,11 @@ frame_color = "#535c5c"
# * foreground: use the same color as the foreground; # * foreground: use the same color as the foreground;
# * frame: use the same color as the frame; # * frame: use the same color as the frame;
# * anything else will be interpreted as a X color. # * anything else will be interpreted as a X color.
separator_color = auto separator_color = "#00000000"
# Defines width in pixels of frame around the notification window. # Defines width in pixels of frame around the notification window.
# Set to 0 to disable. # Set to 0 to disable.
frame_width = 2 frame_width = 0
# Print a notification on startup. # Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst # This is mainly for error detection, since dbus (re-)starts dunst
@ -158,13 +173,7 @@ dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu. # Browser for opening urls in context menu.
#browser = /usr/bin/qutebrowser #browser = /usr/bin/qutebrowser
# Align icons left/right/off
icon_position = right
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
max_icon_size = 32
[shortcuts] [shortcuts]