Advertisement
Dobbie03

dunst

Oct 14th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.86 KB | None | 0 0
  1. [global]
  2. font = Pilcrow 10
  3.  
  4. # Allow a small subset of html markup:
  5. # <b>bold</b>
  6. # <i>italic</i>
  7. # <s>strikethrough</s>
  8. # <u>underline</u>
  9. #
  10. # For a complete reference see
  11. # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
  12. # If markup is not allowed, those tags will be stripped out of the
  13. # message.
  14. markup = yes
  15.  
  16. # The format of the message. Possible variables are:
  17. # %a appname
  18. # %s summary
  19. # %b body
  20. # %i iconname (including its path)
  21. # %I iconname (without its path)
  22. # %p progress value if set ([ 0%] to [100%]) or nothing
  23. # Markup is allowed
  24. format = "<b>%s</b>\n%b"
  25.  
  26. # Sort messages by urgency.
  27. sort = yes
  28.  
  29. # Show how many messages are currently hidden (because of geometry).
  30. indicate_hidden = yes
  31.  
  32. # Alignment of message text.
  33. # Possible values are "left", "center" and "right".
  34. alignment = center
  35.  
  36. # The frequency with wich text that is longer than the notification
  37. # window allows bounces back and forth.
  38. # This option conflicts with "word_wrap".
  39. # Set to 0 to disable.
  40. bounce_freq = 3
  41.  
  42. # Show age of message if message is older than show_age_threshold
  43. # seconds.
  44. # Set to -1 to disable.
  45. show_age_threshold = 60
  46.  
  47. # Split notifications into multiple lines if they don't fit into
  48. # geometry.
  49. word_wrap = yes
  50.  
  51. # Ignore newlines '\n' in notifications.
  52. ignore_newline = no
  53.  
  54.  
  55. # The geometry of the window:
  56. # [{width}]x{height}[+/-{x}+/-{y}]
  57. # The geometry of the message window.
  58. # The height is measured in number of notifications everything else
  59. # in pixels. If the width is omitted but the height is given
  60. # ("-geometry x2"), the message window expands over the whole screen
  61. # (dmenu-like). If width is 0, the window expands to the longest
  62. # message displayed. A positive x is measured from the left, a
  63. # negative from the right side of the screen. Y is measured from
  64. # the top and down respectevly.
  65. # The width can be negative. In this case the actual width is the
  66. # screen width minus the width defined in within the geometry option.
  67. geometry = "597x25+1419+6"
  68.  
  69. # Shrink window if it's smaller than the width. Will be ignored if
  70. # width is 0.
  71. shrink = no
  72.  
  73. # The transparency of the window. Range: [0; 100].
  74. # This option will only work if a compositing windowmanager is
  75. # present (e.g. xcompmgr, compiz, etc.).
  76. transparency = 0
  77.  
  78. # Don't remove messages, if the user is idle (no mouse or keyboard input)
  79. # for longer than idle_threshold seconds.
  80. # Set to 0 to disable.
  81. idle_threshold = 0
  82.  
  83. # Which monitor should the notifications be displayed on.
  84. monitor = 0
  85.  
  86. # Display notification on focused monitor. Possible modes are:
  87. # mouse: follow mouse pointer
  88. # keyboard: follow window with keyboard focus
  89. # none: don't follow anything
  90. #
  91. # "keyboard" needs a windowmanager that exports the
  92. # _NET_ACTIVE_WINDOW property.
  93. # This should be the case for almost all modern windowmanagers.
  94. #
  95. # If this option is set to mouse or keyboard, the monitor option
  96. # will be ignored.
  97. follow = none
  98.  
  99. # Should a notification popped up from history be sticky or timeout
  100. # as if it would normally do.
  101. sticky_history = yes
  102.  
  103. # Maximum amount of notifications kept in history
  104. history_length = 20
  105.  
  106. # Display indicators for URLs (U) and actions (A).
  107. show_indicators = yes
  108.  
  109. # The height of a single line. If the height is smaller than the
  110. # font height, it will get raised to the font height.
  111. # This adds empty space above and under the text.
  112. line_height = 0
  113.  
  114. # Draw a line of "separatpr_height" pixel height between two
  115. # notifications.
  116. # Set to 0 to disable.
  117. separator_height = 2
  118.  
  119. # Padding between text and separator.
  120. padding = 16
  121.  
  122. # Horizontal padding.
  123. horizontal_padding = 16
  124.  
  125. # Defines color of the frame around the notification window.
  126. frame_color = "#81A2BE"
  127.  
  128. # Define a color for the separator.
  129. # possible values are:
  130. # * auto: dunst tries to find a color fitting to the background;
  131. # * foreground: use the same color as the foreground;
  132. # * frame: use the same color as the frame;
  133. # * anything else will be interpreted as a X color.
  134. separator_color = frame
  135.  
  136. # Defines width in pixels of frame around the notification window.
  137. # Set to 0 to disable.
  138. frame_width = 1
  139.  
  140. # Print a notification on startup.
  141. # This is mainly for error detection, since dbus (re-)starts dunst
  142. # automatically after a crash.
  143. startup_notification = false
  144.  
  145. # dmenu path.
  146. dmenu = /usr/bin/dmenu -p dunst:
  147.  
  148. # Browser for opening urls in context menu.
  149. browser = /usr/bin/qutebrowser
  150.  
  151. # Align icons left/right/off
  152. icon_position = off
  153.  
  154. # Paths to default icons.
  155. icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
  156.  
  157. [shortcuts]
  158.  
  159. # Shortcuts are specified as [modifier+][modifier+]...key
  160. # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
  161. # "mod3" and "mod4" (windows-key).
  162. # Xev might be helpful to find names for keys.
  163.  
  164. # Close notification.
  165. close = ctrl+space
  166.  
  167. # Close all notifications.
  168. close_all = ctrl+shift+space
  169.  
  170. # Redisplay last message(s).
  171. # On the US keyboard layout "grave" is normally above TAB and left
  172. # of "1".
  173. history = ctrl+grave
  174.  
  175. # Context menu.
  176. context = ctrl+shift+period
  177.  
  178. [urgency_low]
  179. # IMPORTANT: colors have to be defined in quotation marks.
  180. # Otherwise the "#" and following would be interpreted as a comment.
  181. background = "#2B303B"
  182. foreground = "#81A2BE"
  183. timeout = 2
  184. # Icon for notifications with low urgency, uncomment to enable
  185. #icon = /path/to/icon
  186.  
  187. [urgency_normal]
  188. background = "#2B303B"
  189. foreground = "#81A2BE"
  190. timeout = 4
  191. # Icon for notifications with normal urgency, uncomment to enable
  192. #icon = /path/to/icon
  193.  
  194. [urgency_critical]
  195. background = "#2B303B"
  196. foreground = "#81A2BE"
  197. frame_color = "#E94032"
  198. timeout = 0
  199. # Icon for notifications with critical urgency, uncomment to enable
  200. #icon = /path/to/icon
  201.  
  202. # Every section that isn't one of the above is interpreted as a rules to
  203. # override settings for certain messages.
  204. # Messages can be matched by "appname", "summary", "body", "icon", "category",
  205. # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
  206. # "background", "new_icon" and "format".
  207. # Shell-like globbing will get expanded.
  208. #
  209. # SCRIPTING
  210. # You can specify a script that gets run when the rule matches by
  211. # setting the "script" option.
  212. # The script will be called as follows:
  213. # script appname summary body icon urgency
  214. # where urgency can be "LOW", "NORMAL" or "CRITICAL".
  215. #
  216. # NOTE: if you don't want a notification to be displayed, set the format
  217. # to "".
  218. # NOTE: It might be helpful to run dunst -print in a terminal in order
  219. # to find fitting options for rules.
  220.  
  221. #[espeak]
  222. # summary = "*"
  223. # script = dunst_espeak.sh
  224.  
  225. #[script-test]
  226. # summary = "*script*"
  227. # script = dunst_test.sh
  228.  
  229. #[ignore]
  230. # # This notification will not be displayed
  231. # summary = "foobar"
  232. # format = ""
  233.  
  234. #[signed_on]
  235. # appname = Pidgin
  236. # summary = "*signed on*"
  237. # urgency = low
  238. #
  239. #[signed_off]
  240. # appname = Pidgin
  241. # summary = *signed off*
  242. # urgency = low
  243. #
  244. #[says]
  245. # appname = Pidgin
  246. # summary = *says*
  247. # urgency = critical
  248. #
  249. #[twitter]
  250. # appname = Pidgin
  251. # summary = *twitter.com*
  252. # urgency = normal
  253. #
  254.  
  255. # vim: ft=cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement