|
1 |
+ |
# Darkmatter dunst theme |
|
2 |
+ |
# |
|
3 |
+ |
# Colors and geometry only — the rest is dunst's stock behavior. Use this |
|
4 |
+ |
# file directly with `dunst -config path/to/dunstrc`, or copy the sections |
|
5 |
+ |
# you want into your own. Palette reference: ../README.md. |
|
6 |
+ |
|
| 1 |
7 |
|
[global] |
| 2 |
|
- |
### Display ### |
| 3 |
|
- |
|
| 4 |
|
- |
# Which monitor should the notifications be displayed on. |
| 5 |
8 |
|
monitor = 0 |
| 6 |
|
- |
|
| 7 |
|
- |
# Display notification on focused monitor. Possible modes are: |
| 8 |
|
- |
# mouse: follow mouse pointer |
| 9 |
|
- |
# keyboard: follow window with keyboard focus |
| 10 |
|
- |
# none: don't follow anything |
| 11 |
|
- |
# |
| 12 |
|
- |
# "keyboard" needs a window manager that exports the |
| 13 |
|
- |
# _NET_ACTIVE_WINDOW property. |
| 14 |
|
- |
# This should be the case for almost all modern window managers. |
| 15 |
|
- |
# |
| 16 |
|
- |
# If this option is set to mouse or keyboard, the monitor option |
| 17 |
|
- |
# will be ignored. |
| 18 |
9 |
|
follow = mouse |
| 19 |
10 |
|
|
| 20 |
|
- |
# The geometry of the window: |
| 21 |
|
- |
# [{width}]x{height}[+/-{x}+/-{y}] |
| 22 |
|
- |
# The geometry of the message window. |
| 23 |
|
- |
# The height is measured in number of notifications everything else |
| 24 |
|
- |
# in pixels. If the width is omitted but the height is given |
| 25 |
|
- |
# ("-geometry x2"), the message window expands over the whole screen |
| 26 |
|
- |
# (dmenu-like). If width is 0, the window expands to the longest |
| 27 |
|
- |
# message displayed. A positive x is measured from the left, a |
| 28 |
|
- |
# negative from the right side of the screen. Y is measured from |
| 29 |
|
- |
# the top and down respectively. |
| 30 |
|
- |
# The width can be negative. In this case the actual width is the |
| 31 |
|
- |
# screen width minus the width defined in within the geometry option. |
| 32 |
|
- |
geometry = "350x7-13+32" |
|
11 |
+ |
width = 350 |
|
12 |
+ |
height = (0, 300) |
|
13 |
+ |
origin = top-right |
|
14 |
+ |
offset = (12, 32) |
| 33 |
15 |
|
|
| 34 |
|
- |
# Show how many messages are currently hidden (because of geometry). |
| 35 |
|
- |
indicate_hidden = yes |
| 36 |
|
- |
|
| 37 |
|
- |
# Shrink window if it's smaller than the width. Will be ignored if |
| 38 |
|
- |
# width is 0. |
| 39 |
|
- |
shrink = no |
| 40 |
|
- |
|
| 41 |
|
- |
# The transparency of the window. Range: [0; 100]. |
| 42 |
|
- |
# This option will only work if a compositing window manager is |
| 43 |
|
- |
# present (e.g. xcompmgr, compiz, etc.). |
| 44 |
|
- |
transparency = 1 |
| 45 |
|
- |
|
| 46 |
|
- |
# The height of the entire notification. If the height is smaller |
| 47 |
|
- |
# than the font height and padding combined, it will be raised |
| 48 |
|
- |
# to the font height and padding. |
| 49 |
|
- |
notification_height = 0 |
| 50 |
|
- |
|
| 51 |
|
- |
# Draw a line of "separator_height" pixel height between two |
| 52 |
|
- |
# notifications. |
| 53 |
|
- |
# Set to 0 to disable. |
| 54 |
|
- |
separator_height = 2 |
| 55 |
|
- |
|
| 56 |
|
- |
# Padding between text and separator. |
| 57 |
|
- |
padding = 8 |
| 58 |
|
- |
|
| 59 |
|
- |
# Horizontal padding. |
| 60 |
|
- |
horizontal_padding = 8 |
| 61 |
|
- |
|
| 62 |
|
- |
# Defines width in pixels of frame around the notification window. |
| 63 |
|
- |
# Set to 0 to disable. |
| 64 |
16 |
|
frame_width = 2 |
| 65 |
|
- |
|
| 66 |
|
- |
# Defines color of the frame around the notification window. |
| 67 |
|
- |
frame_color = "#5E81AC" |
| 68 |
|
- |
|
| 69 |
|
- |
# Define a color for the separator. |
| 70 |
|
- |
# possible values are: |
| 71 |
|
- |
# * auto: dunst tries to find a color fitting to the background; |
| 72 |
|
- |
# * foreground: use the same color as the foreground; |
| 73 |
|
- |
# * frame: use the same color as the frame; |
| 74 |
|
- |
# * anything else will be interpreted as a X color. |
|
17 |
+ |
frame_color = "#2b2b2b" |
| 75 |
18 |
|
separator_color = frame |
|
19 |
+ |
separator_height = 2 |
| 76 |
20 |
|
|
| 77 |
|
- |
# Sort messages by urgency. |
| 78 |
|
- |
sort = yes |
| 79 |
|
- |
|
| 80 |
|
- |
# Don't remove messages, if the user is idle (no mouse or keyboard input) |
| 81 |
|
- |
# for longer than idle_threshold seconds. |
| 82 |
|
- |
# Set to 0 to disable. |
| 83 |
|
- |
idle_threshold = 200 |
| 84 |
|
- |
|
| 85 |
|
- |
### Text ### |
| 86 |
|
- |
|
| 87 |
|
- |
font = SF Pro Display 11 |
| 88 |
|
- |
|
| 89 |
|
- |
# The spacing between lines. If the height is smaller than the |
| 90 |
|
- |
# font height, it will get raised to the font height. |
| 91 |
|
- |
line_height = 1 |
| 92 |
|
- |
|
| 93 |
|
- |
# Possible values are: |
| 94 |
|
- |
# full: Allow a small subset of html markup in notifications: |
| 95 |
|
- |
# <b>bold</b> |
| 96 |
|
- |
# <i>italic</i> |
| 97 |
|
- |
# <s>strikethrough</s> |
| 98 |
|
- |
# <u>underline</u> |
| 99 |
|
- |
# |
| 100 |
|
- |
# For a complete reference see |
| 101 |
|
- |
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. |
| 102 |
|
- |
# |
| 103 |
|
- |
# strip: This setting is provided for compatibility with some broken |
| 104 |
|
- |
# clients that send markup even though it's not enabled on the |
| 105 |
|
- |
# server. Dunst will try to strip the markup but the parsing is |
| 106 |
|
- |
# simplistic so using this option outside of matching rules for |
| 107 |
|
- |
# specific applications *IS GREATLY DISCOURAGED*. |
| 108 |
|
- |
# |
| 109 |
|
- |
# no: Disable markup parsing, incoming notifications will be treated as |
| 110 |
|
- |
# plain text. Dunst will not advertise that it has the body-markup |
| 111 |
|
- |
# capability if this is set as a global setting. |
| 112 |
|
- |
# |
| 113 |
|
- |
# It's important to note that markup inside the format option will be parsed |
| 114 |
|
- |
# regardless of what this is set to. |
| 115 |
|
- |
markup = yes |
| 116 |
|
- |
|
| 117 |
|
- |
# The format of the message. Possible variables are: |
| 118 |
|
- |
# %a appname |
| 119 |
|
- |
# %s summary |
| 120 |
|
- |
# %b body |
| 121 |
|
- |
# %i iconname (including its path) |
| 122 |
|
- |
# %I iconname (without its path) |
| 123 |
|
- |
# %p progress value if set ([ 0%] to [100%]) or nothing |
| 124 |
|
- |
# %n progress value if set without any extra characters |
| 125 |
|
- |
# Markup is allowed |
| 126 |
|
- |
#format = "<b>%s</b>\n%b" |
| 127 |
|
- |
format = "<b>%s %p</b>\n%b\n%p" |
|
21 |
+ |
padding = 10 |
|
22 |
+ |
horizontal_padding = 10 |
|
23 |
+ |
corner_radius = 6 |
|
24 |
+ |
transparency = 0 |
| 128 |
25 |
|
|
| 129 |
|
- |
# Alignment of message text. |
| 130 |
|
- |
# Possible values are "left", "center" and "right". |
| 131 |
|
- |
alignment = center |
| 132 |
|
- |
|
| 133 |
|
- |
# Show age of message if message is older than show_age_threshold |
| 134 |
|
- |
# seconds. |
| 135 |
|
- |
# Set to -1 to disable. |
|
26 |
+ |
font = Sans 10 |
|
27 |
+ |
line_height = 2 |
|
28 |
+ |
markup = full |
|
29 |
+ |
format = "<b>%s</b>\n%b" |
|
30 |
+ |
alignment = left |
|
31 |
+ |
word_wrap = yes |
|
32 |
+ |
ellipsize = middle |
| 136 |
33 |
|
show_age_threshold = 60 |
| 137 |
|
- |
|
| 138 |
|
- |
# Split notifications into multiple lines if they don't fit into |
| 139 |
|
- |
# geometry. |
| 140 |
|
- |
word_wrap = yes |
| 141 |
|
- |
|
| 142 |
|
- |
# Ignore newlines '\n' in notifications. |
| 143 |
|
- |
ignore_newline = no |
|
34 |
+ |
idle_threshold = 200 |
| 144 |
35 |
|
|
| 145 |
|
- |
ellipsize = middle |
|
36 |
+ |
icon_position = left |
|
37 |
+ |
max_icon_size = 32 |
| 146 |
38 |
|
|
| 147 |
|
- |
# Merge multiple notifications with the same content |
|
39 |
+ |
sort = yes |
| 148 |
40 |
|
stack_duplicates = true |
| 149 |
|
- |
|
| 150 |
|
- |
# Hide the count of merged notifications with the same content |
| 151 |
41 |
|
hide_duplicate_count = false |
| 152 |
|
- |
|
| 153 |
|
- |
# Display indicators for URLs (U) and actions (A). |
| 154 |
42 |
|
show_indicators = yes |
| 155 |
43 |
|
|
| 156 |
|
- |
### Icons ### |
| 157 |
|
- |
|
| 158 |
|
- |
# Align icons left/right/off |
| 159 |
|
- |
icon_position = left |
| 160 |
|
- |
|
| 161 |
|
- |
# Scale larger icons down to this size, set to 0 to disable |
| 162 |
|
- |
max_icon_size = 32 |
| 163 |
|
- |
|
| 164 |
|
- |
# Paths to default icons. |
| 165 |
|
- |
icon_path = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/ |
| 166 |
|
- |
|
| 167 |
|
- |
# Should a notification popped up from history be sticky or timeout |
| 168 |
|
- |
# as if it would normally do. |
| 169 |
|
- |
sticky_history = yes |
| 170 |
|
- |
|
| 171 |
|
- |
# Maximum amount of notifications kept in history |
| 172 |
|
- |
history_length = 20 |
| 173 |
|
- |
|
| 174 |
|
- |
### Misc/Advanced ### |
| 175 |
|
- |
|
| 176 |
|
- |
# dmenu path. |
| 177 |
|
- |
dmenu = /usr/bin/dmenu -p dunst: |
| 178 |
|
- |
|
| 179 |
|
- |
# Browser for opening urls in context menu. |
| 180 |
|
- |
browser = /usr/bin/brave |
| 181 |
|
- |
|
| 182 |
|
- |
# Always run rule-defined scripts, even if the notification is suppressed |
| 183 |
|
- |
always_run_script = true |
| 184 |
|
- |
|
| 185 |
|
- |
# Define the title of the windows spawned by dunst |
| 186 |
44 |
|
title = Dunst |
| 187 |
|
- |
|
| 188 |
|
- |
# Define the class of the windows spawned by dunst |
| 189 |
45 |
|
class = Dunst |
| 190 |
46 |
|
|
| 191 |
|
- |
# Print a notification on startup. |
| 192 |
|
- |
# This is mainly for error detection, since dbus (re-)starts dunst |
| 193 |
|
- |
# automatically after a crash. |
| 194 |
|
- |
startup_notification = false |
| 195 |
|
- |
|
| 196 |
|
- |
### Legacy |
| 197 |
|
- |
|
| 198 |
|
- |
# Use the Xinerama extension instead of RandR for multi-monitor support. |
| 199 |
|
- |
# This setting is provided for compatibility with older nVidia drivers that |
| 200 |
|
- |
# do not support RandR and using it on systems that support RandR is highly |
| 201 |
|
- |
# discouraged. |
| 202 |
|
- |
# |
| 203 |
|
- |
# By enabling this setting dunst will not be able to detect when a monitor |
| 204 |
|
- |
# is connected or disconnected which might break follow mode if the screen |
| 205 |
|
- |
# layout changes. |
| 206 |
|
- |
force_xinerama = false |
| 207 |
|
- |
|
| 208 |
|
- |
# Experimental features that may or may not work correctly. Do not expect them |
| 209 |
|
- |
# to have a consistent behaviour across releases. |
| 210 |
|
- |
[experimental] |
| 211 |
|
- |
# Calculate the dpi to use on a per-monitor basis. |
| 212 |
|
- |
# If this setting is enabled the Xft.dpi value will be ignored and instead |
| 213 |
|
- |
# dunst will attempt to calculate an appropriate dpi value for each monitor |
| 214 |
|
- |
# using the resolution and physical size. This might be useful in setups |
| 215 |
|
- |
# where there are multiple screens with very different dpi values. |
| 216 |
|
- |
per_monitor_dpi = false |
| 217 |
|
- |
|
| 218 |
|
- |
[shortcuts] |
| 219 |
|
- |
|
| 220 |
|
- |
# Shortcuts are specified as [modifier+][modifier+]...key |
| 221 |
|
- |
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", |
| 222 |
|
- |
# "mod3" and "mod4" (windows-key). |
| 223 |
|
- |
# Xev might be helpful to find names for keys. |
| 224 |
|
- |
|
| 225 |
|
- |
# Close notification. |
| 226 |
|
- |
close = ctrl+space |
| 227 |
|
- |
|
| 228 |
|
- |
# Close all notifications. |
| 229 |
|
- |
close_all = ctrl+shift+space |
| 230 |
|
- |
|
| 231 |
|
- |
# Redisplay last message(s). |
| 232 |
|
- |
# On the US keyboard layout "grave" is normally above TAB and left |
| 233 |
|
- |
# of "1". Make sure this key actually exists on your keyboard layout, |
| 234 |
|
- |
# e.g. check output of 'xmodmap -pke' |
| 235 |
|
- |
history = ctrl+mod1+j |
| 236 |
|
- |
|
| 237 |
|
- |
|
| 238 |
47 |
|
[urgency_low] |
| 239 |
|
- |
msg_urgency = low |
| 240 |
|
- |
background = "#2E344090" |
| 241 |
|
- |
foreground = "#D8DEE9" |
| 242 |
|
- |
timeout= 4 |
|
48 |
+ |
background = "#121113" |
|
49 |
+ |
foreground = "#999999" |
|
50 |
+ |
frame_color = "#2b2b2b" |
|
51 |
+ |
timeout = 4 |
| 243 |
52 |
|
|
| 244 |
53 |
|
[urgency_normal] |
| 245 |
|
- |
msg_urgency = normal |
| 246 |
|
- |
background = "#3B425299" |
| 247 |
|
- |
foreground = "#E5E9F0" |
| 248 |
|
- |
timeout = 4 |
|
54 |
+ |
background = "#1c1b1d" |
|
55 |
+ |
foreground = "#ffffff" |
|
56 |
+ |
frame_color = "#e78a53" |
|
57 |
+ |
timeout = 6 |
| 249 |
58 |
|
|
| 250 |
59 |
|
[urgency_critical] |
| 251 |
|
- |
msg_urgency = critical |
| 252 |
|
- |
background = "#2E344099" |
| 253 |
|
- |
foreground = "#D08770" |
| 254 |
|
- |
timeout = 0 |
| 255 |
|
- |
|
| 256 |
|
- |
|
| 257 |
|
- |
# Every section that isn't one of the above is interpreted as a rules to |
| 258 |
|
- |
# override settings for certain messages. |
| 259 |
|
- |
# Messages can be matched by "appname", "summary", "body", "icon", "category", |
| 260 |
|
- |
# "msg_urgency" and you can override the "timeout", "urgency", "foreground", |
| 261 |
|
- |
# "background", "new_icon" and "format". |
| 262 |
|
- |
# Shell-like globbing will get expanded. |
| 263 |
|
- |
# |
| 264 |
|
- |
# SCRIPTING |
| 265 |
|
- |
# You can specify a script that gets run when the rule matches by |
| 266 |
|
- |
# setting the "script" option. |
| 267 |
|
- |
# The script will be called as follows: |
| 268 |
|
- |
# script appname summary body icon urgency |
| 269 |
|
- |
# where urgency can be "LOW", "NORMAL" or "CRITICAL". |
| 270 |
|
- |
# |
| 271 |
|
- |
# NOTE: if you don't want a notification to be displayed, set the format |
| 272 |
|
- |
# to "". |
| 273 |
|
- |
# NOTE: It might be helpful to run dunst -print in a terminal in order |
| 274 |
|
- |
# to find fitting options for rules. |
| 275 |
|
- |
|
| 276 |
|
- |
#[espeak] |
| 277 |
|
- |
# summary = "*" |
| 278 |
|
- |
# script = dunst_espeak.sh |
|
60 |
+ |
background = "#1c1b1d" |
|
61 |
+ |
foreground = "#ffffff" |
|
62 |
+ |
frame_color = "#e75353" |
|
63 |
+ |
timeout = 0 |
| 279 |
64 |
|
|
| 280 |
|
- |
#[script-test] |
| 281 |
|
- |
# summary = "*script*" |
| 282 |
|
- |
# script = dunst_test.sh |
| 283 |
|
- |
|
| 284 |
|
- |
#[ignore] |
| 285 |
|
- |
# # This notification will not be displayed |
| 286 |
|
- |
# summary = "foobar" |
| 287 |
|
- |
# format = "" |
| 288 |
|
- |
|
| 289 |
|
- |
#[history-ignore] |
| 290 |
|
- |
# # This notification will not be saved in history |
| 291 |
|
- |
# summary = "foobar" |
| 292 |
|
- |
# history_ignore = yes |
| 293 |
|
- |
|
| 294 |
|
- |
#[signed_on] |
| 295 |
|
- |
# appname = Pidgin |
| 296 |
|
- |
# summary = "*signed on*" |
| 297 |
|
- |
# urgency = low |
| 298 |
|
- |
# |
| 299 |
|
- |
#[signed_off] |
| 300 |
|
- |
# appname = Pidgin |
| 301 |
|
- |
# summary = *signed off* |
| 302 |
|
- |
# urgency = low |
| 303 |
|
- |
# |
| 304 |
|
- |
#[says] |
| 305 |
|
- |
# appname = Pidgin |
| 306 |
|
- |
# summary = *says* |
| 307 |
|
- |
# urgency = critical |
| 308 |
|
- |
# |
| 309 |
|
- |
#[twitter] |
| 310 |
|
- |
# appname = Pidgin |
| 311 |
|
- |
# summary = *twitter.com* |
| 312 |
|
- |
# urgency = normal |
| 313 |
|
- |
# |
| 314 |
|
- |
|
| 315 |
|
- |
# vim: ft=cfg |