dunstrc 7.2 KB

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