Dotfiles for my tiling window manager + terminal workflow.
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.

327 lines
10 KiB

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