dunstrc-dracula 14 KB

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