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