dotfiles/.config/dunst/dunstrc
2023-08-10 01:10:05 +02:00

140 lines
3.6 KiB
Plaintext

[global]
### Display ###
monitor = 0
follow = keyboard
width = 400
height = 200
offset = 30
origin = top-right
indicate_hidden = yes
shrink = no
transparency = 10
notification_height = 0
separator_height = 0
gap_size = 10
padding = 10
horizontal_padding = 10
frame_width = 0
# progress bar
progress_bar_max_width = 400
progress_bar_min_width = 400
# Defines color of the frame around the notification window.
frame_color = "#808080"
separator_color = frame
sort = yes
idle_threshold = 120
### Text ###
font = FiraCode 12
line_height = 0
markup = full
# 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 = "%s\n\n%b\n"
alignment = left
show_age_threshold = -1
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
show_indicators = yes
### Icons ###
icon_position = off
max_icon_size = 8
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
sticky_history = yes
history_length = 20
### Misc/Advanced ###
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/sensible-browser
always_run_script = true
title = Dunst
class = Dunst
startup_notification = false
verbosity = mesg
# 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 = 5
### Legacy
force_xinerama = false
### mouse
mouse_left_click = do_action
mouse_middle_click = close_all
mouse_right_click = close_current
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1". Make sure this key actually exists on your keyboard layout,
# e.g. check output of 'xmodmap -pke'
history = ctrl+grave
# Context menu.
context = ctrl+shift+period
[urgency_low]
background = "#222222"
foreground = "#888888"
highlight = "#153EBC"
timeout = 3000
[urgency_normal]
background = "#222222"
foreground = "#ffffff"
timeout = 30000
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
# vim: ft=cfg