Advertisement
Guest User

Untitled

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