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.

429 lines
13 KiB

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