You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

196 lines
6.1 KiB

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