Skip to content
This repository

lightweight and customizable notification daemon

tag: v0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time


dunst - dmenu-ish universal notification system

dunst [-geometry geom] [-fn font] [-nf/nb/lf/lb/cf/cb color] [-to/nto/lto/cto secs] [-format fmt] [-key key] [-mod mod] [-mon n] [-v]

dunst is a lightweight notification-daemon for the libnotify. dunst displays messages received via dbus or as commandline argument in a fashion similar to dmenu.

display help message.

defines the font or font set used.

defines the background color of low/normal/critical messages.

defines the foreground color of low/normal/critical messages.

defines the default timeout. Can be (partially) overridden by the following options.

timeouts for low/normal/critical messages.

close window by pressing key. See also -mod.

defines the modifier used in conjunction with -key. Available modifiers are: ctrl, shift, mod1-mod4. This option can be used multiple times to combine modifiers.

defines the format of the message. See FORMAT.

show the notification on monitor n.

sort messages by urgency.

don't sort messages by urgency.

The geometry of the message window. The height is measured in lines everything else in pixels. If the width is omitted but the height is given ("-geometry x2"), the message window expands over the whole screen (dmenu-like). If width is 0, the window expands to the longest message displayed. A positive x is measured from the left, a negative from the right side of the screen. Y is measured from the top and down respectevly. see also EXAMPLES show the notification on monitor n.

Increase verbosity. Can be used multiple times.

fmt is a string containing placeholders. The placeholders will be replaced with the corresponding text, or if the text is not present, nothing. Possible placeholders are:

Every option that needs a color as argument accepts #RGB, #RRGGBB and X color names.

dunst is able to get different colors for a message via notify-send. In order to do that you have to add a hint via the -h option.

written by Sascha Kruse <>

Parts of the code are taken from dmenu. Especially draw.c and draw.h. See LICENSE.dmenu and . Some snippets in dunst_dbus.c are taken from twm. See

Everything else can be considered beerware.

If you feel that copyrights are violated, please send me an email.

dwm(1), dmenu(1), twmn(1), notify-send(1)

Something went wrong with that request. Please try again.