My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

415 lines
13 KiB

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