dunstrc (8678B) - raw


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