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