Add dunst config

This commit is contained in:
pgrondek 2020-06-16 02:49:34 +02:00
commit 24733cede6

131
.config/dunst/dunstrc Normal file
View File

@ -0,0 +1,131 @@
[global]
### Display ###
monitor = 0
follow = keyboard
geometry = "300x5-30+20"
indicate_hidden = yes
shrink = no
transparency = 20
notification_height = 0
separator_height = 2
padding = 8
horizontal_padding = 8
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#808080"
separator_color = frame
sort = yes
idle_threshold = 120
### Text ###
font = Monospace 8
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 = "<tt><b>%s</b>\n%b\n\n<i>%a</i></tt>"
alignment = left
show_age_threshold = -1
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = false
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 = 0
### 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"
timeout = 0
[urgency_normal]
background = "#222222"
foreground = "#ffffff"
timeout = 0
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
# vim: ft=cfg