Advertisement
Guest User

Untitled

a guest
Sep 28th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. [global]
  2. font = Monospace 8
  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 http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
  11. # If markup is not allowed, those tags will be stripped out of the message.
  12. allow_markup = yes
  13.  
  14. # The format of the message. Possible variables are:
  15. # %a appname
  16. # %s summary
  17. # %b body
  18. # %i iconname (including its path)
  19. # %I iconname (without its path)
  20. # %p progress value if set ([ 0%] to [100%]) or nothing
  21. # Markup is allowed
  22. format = "<b>%a:</b> %s\n%b"
  23.  
  24. # Sort messages by urgency
  25. sort = yes
  26.  
  27. # Show how many messages are currently hidden (because of geometry)
  28. indicate_hidden = yes
  29.  
  30. # alignment of message text.
  31. # Possible values are "left", "center" and "right"
  32. alignment = left
  33.  
  34. # The frequency with wich text that is longer than the notification
  35. # window allows bounces back and forth.
  36. # This option conflicts with 'word_wrap'.
  37. # Set to 0 to disable
  38. bounce_freq = 0
  39.  
  40. # show age of message if message is older than show_age_threshold seconds.
  41. # set to -1 to disable
  42. show_age_threshold = 60
  43.  
  44. # split notifications into multiple lines if they don't fit into geometry
  45. word_wrap = yes
  46.  
  47. # ignore newlines '\n' in notifications
  48. ignore_newline = no
  49.  
  50.  
  51. # the geometry of the window
  52. # geometry [{width}]x{height}][+/-{x}+/-{y}]
  53. # The geometry of the message window.
  54. # The height is measured in number of notifications everything else in pixels. If the width
  55. # is omitted but the height is given ("-geometry x2"), the message window
  56. # expands over the whole screen (dmenu-like). If width is 0,
  57. # the window expands to the longest message displayed.
  58. # A positive x is measured from the left, a negative from the
  59. # right side of the screen. Y is measured from the top and down respectevly.
  60. # The width can be negative. In this case the actual width is the
  61. # screen width minus the width defined in within the geometry option.
  62. geometry = "300x5-30+20"
  63.  
  64. # The transparency of the window. range: [0; 100]
  65. # This option will only work if a compositing windowmanager is present (e.g. xcompmgr, compiz, etc..)
  66. transparency = 0
  67.  
  68. # Don't remove messages, if the user is idle (no mouse or keyboard input)
  69. # for longer than idle_threshold seconds.
  70. # Set to 0 to disable.
  71. idle_threshold = 120
  72.  
  73. # Which monitor should the notifications be displayed on.
  74. monitor = 0
  75.  
  76. # Display notification on focused monitor. Possible modes are:
  77. # mouse: follow mouse pointer
  78. # keyboard: follow window with keyboard focus
  79. # none: don't follow anything
  80. #
  81. # "keyboard" needs a windowmanager that exports the _NET_ACTIVE_WINDOW property.
  82. # This should be the case for almost all modern windowmanagers.
  83. #
  84. # If this option is set to mouse or keyboard, the monitor option will be
  85. # ignored.
  86. follow = keyboard
  87.  
  88. # should a notification popped up from history be sticky or
  89. # timeout as if it would normally do.
  90. sticky_history = yes
  91.  
  92. # The height of a single line. If the height is smaller than the font height,
  93. # it will get raised to the font height.
  94. # This adds empty space above and under the text.
  95. line_height = 0
  96.  
  97. # Draw a line of 'separatpr_height' pixel height between two notifications.
  98. # Set to 0 to disable
  99. separator_height = 2
  100.  
  101. # padding between text and separator
  102. padding = 8
  103.  
  104. # horizontal padding
  105. horizontal_padding = 8
  106.  
  107. # Define a color for the separator.
  108. # possible values are:
  109. # * auto: dunst tries to find a color fitting to the background
  110. # * foreground: use the same color as the foreground
  111. # * frame: use the same color as the frame.
  112. # * anything else will be interpreted as a X color
  113. separator_color = frame
  114.  
  115. # print a notification on startup
  116. # This is mainly for error detection, since dbus (re-)starts dunst
  117. # automatically after a crash.
  118. startup_notification = true
  119.  
  120. # dmenu path
  121. dmenu = /usr/bin/dmenu -p dunst:
  122.  
  123. # browser for opening urls in context menu
  124. browser = /usr/bin/firefox -new-tab
  125.  
  126. [frame]
  127. width = 0
  128. color = "#000000"
  129.  
  130. [shortcuts]
  131. # shortcuts are specified as [modifier+][modifier+]...key
  132. # available modifiers are 'ctrl', 'mod1' (the alt-key), 'mod2', 'mod3'
  133. # and 'mod4' (windows-key)
  134. # xev might be helpful to find names for keys
  135.  
  136. # close notification
  137. close = mod4+m
  138.  
  139. # close all notifications
  140. close_all = mod4+shift+m
  141.  
  142. # redisplay last message(s)
  143. history = mod4+n
  144.  
  145. # context menu
  146. context = mod4+shift+i
  147.  
  148. [urgency_low]
  149. # IMPORTANT: colors have to be defined in quotation marks.
  150. # Otherwise the '#' and following would be interpreted as a comment.
  151. background = "#222222"
  152. foreground = "#888888"
  153. timeout = 10
  154.  
  155. [urgency_normal]
  156. background = "#285577"
  157. foreground = "#ffffff"
  158. timeout = 10
  159.  
  160. [urgency_critical]
  161. background = "#900000"
  162. foreground = "#ffffff"
  163. timeout = 0
  164.  
  165.  
  166. # Every section that isn't one of the above is interpreted as a rules
  167. # to override settings for certain messages.
  168. # Messages can be matched by 'appname', 'summary', 'body' or 'icon'
  169. # and you can override the 'timeout', 'urgency', 'foreground', 'background'
  170. # and 'format'.
  171. # Shell-like globbing will get expanded.
  172. #
  173. # SCRIPTING
  174. # you can specify a script that gets run when the rule matches by setting
  175. # the 'script' option.
  176. # The script will be called as follows:
  177. # script appname summary body icon urgency
  178. # where urgency can be "LOW", "NORMAL" or "CRITICAL".
  179. #
  180. # NOTE: if you don't want a notification to be displayed, set the format to ""
  181. # NOTE: It might be helpful to run dunst -print in a terminal in order to find
  182. # fitting options for rules.
  183.  
  184. #[espeak]
  185. # summary = "*"
  186. # script = dunst_espeak.sh
  187.  
  188. #[script-test]
  189. # summary = "*script*"
  190. # script = dunst_test.sh
  191.  
  192. #[ignore]
  193. ## This notification will not be displayed
  194. # summary = "foobar"
  195. # format = ""
  196.  
  197. [signed_on]
  198. appname = Pidgin
  199. summary = "*signed on*"
  200. urgency = low
  201.  
  202. [signed_off]
  203. appname = Pidgin
  204. summary = *signed off*
  205. urgency = low
  206.  
  207. [says]
  208. appname = Pidgin
  209. summary = *says*
  210. urgency = critical
  211. format = "%s "%b""
  212.  
  213. [music]
  214. appname = Amarok
  215. summary = "Now playing"
  216. urgency = low
  217.  
  218. #[twitter]
  219. # appname = Pidgin
  220. # summary = *twitter.com*
  221. # urgency = normal
  222. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement