dunstrc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. [global]
  2. monitor = 0
  3. follow = keyboard
  4. geometry = "350x5-0+24"
  5. indicate_hidden = yes
  6. shrink = yes
  7. transparency = 20
  8. notification_height = 0
  9. separator_height = 2
  10. padding = 0
  11. horizontal_padding = 8
  12. frame_width = 3
  13. frame_color = "#282828"
  14. # Define a color for the separator.
  15. # possible values are:
  16. # * auto: dunst tries to find a color fitting to the background;
  17. # * foreground: use the same color as the foreground;
  18. # * frame: use the same color as the frame;
  19. # * anything else will be interpreted as a X color.
  20. separator_color = frame
  21. # Sort messages by urgency.
  22. sort = yes
  23. idle_threshold = 120
  24. font = Monospace 14
  25. line_height = 0
  26. markup = full
  27. # The format of the message. Possible variables are:
  28. # %a appname
  29. # %s summary
  30. # %b body
  31. # %i iconname (including its path)
  32. # %I iconname (without its path)
  33. # %p progress value if set ([ 0%] to [100%]) or nothing
  34. # %n progress value if set without any extra characters
  35. # %% Literal %
  36. # Markup is allowed
  37. format = "<b>%s</b>\n%b"
  38. alignment = left
  39. show_age_threshold = 60
  40. word_wrap = yes
  41. ellipsize = middle
  42. ignore_newline = no
  43. stack_duplicates = true
  44. hide_duplicate_count = true
  45. show_indicators = yes
  46. icon_position = left
  47. max_icon_size = 40
  48. icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
  49. sticky_history = yes
  50. history_length = 20
  51. dmenu = /usr/bin/dmenu -p dunst:
  52. browser = /usr/bin/firefox -new-tab
  53. # Always run rule-defined scripts, even if the notification is suppressed
  54. always_run_script = true
  55. title = Dunst
  56. class = Dunst
  57. startup_notification = false
  58. force_xinerama = false
  59. [experimental]
  60. per_monitor_dpi = false
  61. [shortcuts]
  62. close = ctrl+space
  63. close_all = ctrl+shift+space
  64. history = ctrl++shift+h
  65. context = ctrl+shift+period
  66. [urgency_low]
  67. # IMPORTANT: colors have to be defined in quotation marks.
  68. # Otherwise the "#" and following would be interpreted as a comment.
  69. background = "#282828"
  70. foreground = "#928374"
  71. timeout = 5
  72. # Icon for notifications with low urgency, uncomment to enable
  73. #icon = /path/to/icon
  74. [urgency_normal]
  75. background = "#458588"
  76. foreground = "#ebdbb2"
  77. timeout = 5
  78. [urgency_critical]
  79. background = "#cc2421"
  80. foreground = "#ebdbb2"
  81. frame_color = "#fabd2f"
  82. timeout = 0
  83. # Every section that isn't one of the above is interpreted as a rules to
  84. # override settings for certain messages.
  85. # Messages can be matched by "appname", "summary", "body", "icon", "category",
  86. # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
  87. # "background", "new_icon" and "format".
  88. # Shell-like globbing will get expanded.
  89. #
  90. # SCRIPTING
  91. # You can specify a script that gets run when the rule matches by
  92. # setting the "script" option.
  93. # The script will be called as follows:
  94. # script appname summary body icon urgency
  95. # where urgency can be "LOW", "NORMAL" or "CRITICAL".
  96. #
  97. # NOTE: if you don't want a notification to be displayed, set the format
  98. # to "".
  99. # NOTE: It might be helpful to run dunst -print in a terminal in order
  100. # to find fitting options for rules.
  101. #[espeak]
  102. # summary = "*"
  103. # script = dunst_espeak.sh
  104. #[script-test]
  105. # summary = "*script*"
  106. # script = dunst_test.sh
  107. #[ignore]
  108. # # This notification will not be displayed
  109. # summary = "foobar"
  110. # format = ""
  111. #[history-ignore]
  112. # # This notification will not be saved in history
  113. # summary = "foobar"
  114. # history_ignore = yes
  115. #[signed_on]
  116. # appname = Pidgin
  117. # summary = "*signed on*"
  118. # urgency = low
  119. #
  120. #[signed_off]
  121. # appname = Pidgin
  122. # summary = *signed off*
  123. # urgency = low
  124. #
  125. #[says]
  126. # appname = Pidgin
  127. # summary = *says*
  128. # urgency = critical
  129. #
  130. #[twitter]
  131. # appname = Pidgin
  132. # summary = *twitter.com*
  133. # urgency = normal
  134. #
  135. # vim: ft=cfg