dunstrc (7133B) - raw


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