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