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.

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