| 1 | [global] |
| 2 | frame_width = 1 |
| 3 | frame_color = "#709080" |
| 4 | |
| 5 | # Allow a small subset of html markup: |
| 6 | # <b>bold</b> |
| 7 | # <i>italic</i> |
| 8 | # <s>strikethrough</s> |
| 9 | # <u>underline</u> |
| 10 | # |
| 11 | # For a complete reference see |
| 12 | # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. |
| 13 | # If markup is not allowed, those tags will be stripped out of the |
| 14 | # message. |
| 15 | markup = no |
| 16 | |
| 17 | # The format of the message. Possible variables are: |
| 18 | # %a appname |
| 19 | # %s summary |
| 20 | # %b body |
| 21 | # %i iconname (including its path) |
| 22 | # %I iconname (without its path) |
| 23 | # %p progress value if set ([ 0%] to [100%]) or nothing |
| 24 | # Markup is allowed |
| 25 | format = "<b>%s</b>\n%b" |
| 26 | |
| 27 | # Sort messages by urgency. |
| 28 | sort = yes |
| 29 | |
| 30 | # Show how many messages are currently hidden (because of geometry). |
| 31 | indicate_hidden = yes |
| 32 | |
| 33 | # Alignment of message text. |
| 34 | # Possible values are "left", "center" and "right". |
| 35 | alignment = left |
| 36 | |
| 37 | # The frequency with wich text that is longer than the notification |
| 38 | # window allows bounces back and forth. |
| 39 | # This option conflicts with "word_wrap". |
| 40 | # Set to 0 to disable. |
| 41 | bounce_freq = 0 |
| 42 | |
| 43 | # Show age of message if message is older than show_age_threshold |
| 44 | # seconds. |
| 45 | # Set to -1 to disable. |
| 46 | show_age_threshold = 60 |
| 47 | |
| 48 | # Split notifications into multiple lines if they don't fit into |
| 49 | # geometry. |
| 50 | word_wrap = yes |
| 51 | |
| 52 | # Ignore newlines '\n' in notifications. |
| 53 | ignore_newline = no |
| 54 | |
| 55 | |
| 56 | # The geometry of the window: |
| 57 | # [{width}]x{height}[+/-{x}+/-{y}] |
| 58 | # The geometry of the message window. |
| 59 | # The height is measured in number of notifications everything else |
| 60 | # in pixels. If the width is omitted but the height is given |
| 61 | # ("-geometry x2"), the message window expands over the whole screen |
| 62 | # (dmenu-like). If width is 0, the window expands to the longest |
| 63 | # message displayed. A positive x is measured from the left, a |
| 64 | # negative from the right side of the screen. Y is measured from |
| 65 | # the top and down respectevly. |
| 66 | # The width can be negative. In this case the actual width is the |
| 67 | # screen width minus the width defined in within the geometry option. |
| 68 | |
| 69 | # 3840x2160 |
| 70 | #geometry = "600x80-0+60" |
| 71 | #font = Terminus 24 |
| 72 | |
| 73 | # 3440x1440 |
| 74 | geometry = "400x80-0+30" |
| 75 | font = Terminus 14 |
| 76 | |
| 77 | # Shrink window if it's smaller than the width. Will be ignored if |
| 78 | # width is 0. |
| 79 | shrink = no |
| 80 | |
| 81 | # The transparency of the window. Range: [0; 100]. |
| 82 | # This option will only work if a compositing windowmanager is |
| 83 | # present (e.g. xcompmgr, compiz, etc.). |
| 84 | #transparency = 25 |
| 85 | |
| 86 | # Don't remove messages, if the user is idle (no mouse or keyboard input) |
| 87 | # for longer than idle_threshold seconds. |
| 88 | # Set to 0 to disable. |
| 89 | idle_threshold = 300 |
| 90 | |
| 91 | # Which monitor should the notifications be displayed on. |
| 92 | monitor = 0 |
| 93 | |
| 94 | # Display notification on focused monitor. Possible modes are: |
| 95 | # mouse: follow mouse pointer |
| 96 | # keyboard: follow window with keyboard focus |
| 97 | # none: don't follow anything |
| 98 | # |
| 99 | # "keyboard" needs a windowmanager that exports the |
| 100 | # _NET_ACTIVE_WINDOW property. |
| 101 | # This should be the case for almost all modern windowmanagers. |
| 102 | # |
| 103 | # If this option is set to mouse or keyboard, the monitor option |
| 104 | # will be ignored. |
| 105 | follow = mouse |
| 106 | |
| 107 | # Should a notification popped up from history be sticky or timeout |
| 108 | # as if it would normally do. |
| 109 | sticky_history = yes |
| 110 | |
| 111 | # Maximum amount of notifications kept in history |
| 112 | history_length = 1000 |
| 113 | |
| 114 | # Display indicators for URLs (U) and actions (A). |
| 115 | show_indicators = yes |
| 116 | |
| 117 | # The height of a single line. If the height is smaller than the |
| 118 | # font height, it will get raised to the font height. |
| 119 | # This adds empty space above and under the text. |
| 120 | line_height = 0 |
| 121 | |
| 122 | # Draw a line of "separatpr_height" pixel height between two |
| 123 | # notifications. |
| 124 | # Set to 0 to disable. |
| 125 | separator_height = 1 |
| 126 | |
| 127 | # Padding between text and separator. |
| 128 | padding = 8 |
| 129 | |
| 130 | # Horizontal padding. |
| 131 | horizontal_padding = 8 |
| 132 | |
| 133 | # Define a color for the separator. |
| 134 | # possible values are: |
| 135 | # * auto: dunst tries to find a color fitting to the background; |
| 136 | # * foreground: use the same color as the foreground; |
| 137 | # * frame: use the same color as the frame; |
| 138 | # * anything else will be interpreted as a X color. |
| 139 | separator_color = frame |
| 140 | |
| 141 | # Print a notification on startup. |
| 142 | # This is mainly for error detection, since dbus (re-)starts dunst |
| 143 | # automatically after a crash. |
| 144 | startup_notification = true |
| 145 | |
| 146 | # dmenu path. |
| 147 | dmenu = /usr/bin/dmenu -p dunst: |
| 148 | |
| 149 | # Browser for opening urls in context menu. |
| 150 | browser = qutebrowser |
| 151 | |
| 152 | # Align icons left/right/off |
| 153 | icon_position = off |
| 154 | |
| 155 | # Paths to default icons. |
| 156 | #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ |
| 157 | #icon_path = /usr/share/icons/Humanity/status/16 |
| 158 | #icon_path = /usr/share/icons/breeze-dark/status/64 |
| 159 | #icon_path = /usr/share/icons/oxygen/16x16/status/ |
| 160 | |
| 161 | [shortcuts] |
| 162 | |
| 163 | # Shortcuts are specified as [modifier+][modifier+]...key |
| 164 | # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", |
| 165 | # "mod3" and "mod4" (windows-key). |
| 166 | # Xev might be helpful to find names for keys. |
| 167 | |
| 168 | # Close notification. |
| 169 | close = ctrl+space |
| 170 | |
| 171 | # Close all notifications. |
| 172 | close_all = ctrl+shift+space |
| 173 | |
| 174 | # Redisplay last message(s). |
| 175 | # On the US keyboard layout "grave" is normally above TAB and left |
| 176 | # of "1". |
| 177 | history = ctrl+grave |
| 178 | |
| 179 | # Context menu. |
| 180 | context = ctrl+shift+period |
| 181 | |
| 182 | [urgency_low] |
| 183 | # IMPORTANT: colors have to be defined in quotation marks. |
| 184 | # Otherwise the "#" and following would be interpreted as a comment. |
| 185 | background = "#3a3a3a" |
| 186 | foreground = "#dcdccc" |
| 187 | frame_color = "#3f3f3f" |
| 188 | timeout = 30 |
| 189 | |
| 190 | [urgency_normal] |
| 191 | background = "#dcdccc" |
| 192 | foreground = "#3a3a3a" |
| 193 | frame_color = "#3f3f3f" |
| 194 | timeout = 60 |
| 195 | |
| 196 | [urgency_critical] |
| 197 | background = "#705050" |
| 198 | foreground = "#dcdccc" |
| 199 | frame_color = "#3f3f3f" |
| 200 | timeout = 0 |
| 201 | |
| 202 | [beep_normal] |
| 203 | msg_urgency = normal |
| 204 | script = dunst_beep_normal |
| 205 | |
| 206 | [beep_critical] |
| 207 | msg_urgency = critical |
| 208 | script = dunst_beep_critical |
| 209 | |
| 210 | |
| 211 | # Every section that isn't one of the above is interpreted as a rules to |
| 212 | # override settings for certain messages. |
| 213 | # Messages can be matched by "appname", "summary", "body", "icon", "category", |
| 214 | # "msg_urgency" and you can override the "timeout", "urgency", "foreground", |
| 215 | # "background", "new_icon" and "format". |
| 216 | # Shell-like globbing will get expanded. |
| 217 | # |
| 218 | # SCRIPTING |
| 219 | # You can specify a script that gets run when the rule matches by |
| 220 | # setting the "script" option. |
| 221 | # The script will be called as follows: |
| 222 | # script appname summary body icon urgency |
| 223 | # where urgency can be "LOW", "NORMAL" or "CRITICAL". |
| 224 | # |
| 225 | # NOTE: if you don't want a notification to be displayed, set the format |
| 226 | # to "". |
| 227 | # NOTE: It might be helpful to run dunst -print in a terminal in order |
| 228 | # to find fitting options for rules. |
| 229 | |
| 230 | #[espeak] |
| 231 | # summary = "*" |
| 232 | # script = dunst_espeak.sh |
| 233 | |
| 234 | #[script-test] |
| 235 | # summary = "*script*" |
| 236 | # script = dunst_test.sh |
| 237 | |
| 238 | #[ignore] |
| 239 | # # This notification will not be displayed |
| 240 | # summary = "foobar" |
| 241 | # format = "" |
| 242 | |
| 243 | #[signed_on] |
| 244 | # appname = Pidgin |
| 245 | # summary = "*signed on*" |
| 246 | # urgency = low |
| 247 | # |
| 248 | #[signed_off] |
| 249 | # appname = Pidgin |
| 250 | # summary = *signed off* |
| 251 | # urgency = low |
| 252 | # |
| 253 | #[says] |
| 254 | # appname = Pidgin |
| 255 | # summary = *says* |
| 256 | # urgency = critical |
| 257 | # |
| 258 | #[twitter] |
| 259 | # appname = Pidgin |
| 260 | # summary = *twitter.com* |
| 261 | # urgency = normal |
| 262 | # |
| 263 | # vim: ft=cfg |