lightweight and customizable notification daemon
C Shell Makefile
Latest commit 360985b Nov 22, 2016 @knopwob committed on GitHub update readme with maintainership info
Permalink
Failed to load latest commit information.
contrib remove unnecessary redirect from dunst_espeak.sh Dec 21, 2012
docs add image that explaines some config values Feb 28, 2013
test Remove trailing spaces from all other files Aug 3, 2014
.clang_complete Remove trailing spaces from all other files Aug 3, 2014
.gitignore add dunstify to gitignore Feb 25, 2013
AUTHORS release version 0.4.0 Sep 27, 2012
CHANGELOG add changelog for v1.0.0 Apr 17, 2013
INSTALL note about compile errors with outdated config.h Aug 23, 2013
LICENSE update copyright year Jan 16, 2013
Makefile Remove trailing spaces from all other files Aug 3, 2014
README.pod update readme with maintainership info Nov 22, 2016
RELEASE_NOTES.0.4.0 release version 0.4.0 Sep 27, 2012
RELEASE_NOTES.1.0.0 Remove trailing spaces from all other files Aug 3, 2014
config.def.h Merge pull request #209 from Nauxuron/master Dec 17, 2014
config.mk Set dependency to '>=glib-2.36' as needed by the glib signal handler Jul 9, 2014
dbus.c Fix memory leaks Mar 3, 2015
dbus.h indent -linx --no-tabs Feb 21, 2013
dunst.c Fix markup handling. Dec 5, 2014
dunst.h config for max history length Jun 16, 2014
dunstify.c remove trailing whitespaces Mar 8, 2014
dunstrc Merge pull request #209 from Nauxuron/master Dec 17, 2014
menu.c Fix memory leaks Mar 3, 2015
menu.h License header and vim modeline Feb 22, 2013
notification.c add option to run scripts for suppressed notifications - fix #212 Jul 1, 2015
notification.h Fix markup handling. Dec 5, 2014
option_parser.c fix spelling error Aug 13, 2014
option_parser.h options.{c,h} -> option_parser.{c,h} Feb 21, 2013
org.knopwob.dunst.service.in dunst.service -> org.knopwob.dunst.service Jul 30, 2012
rules.c Fix markup handling. Dec 5, 2014
rules.h Fix markup handling. Dec 5, 2014
settings.c settings: Trivial typo fix on format option description Aug 24, 2015
settings.h add option to run scripts for suppressed notifications - fix #212 Jul 1, 2015
utils.c Fix markup handling. Dec 5, 2014
utils.h Revert "replace string_to_argv() with g_strsplit()" Mar 25, 2013
x.c Merge pull request #209 from Nauxuron/master Dec 17, 2014
x.h x.c define functions as static where possible Mar 8, 2013

README.pod

UNMAINTAINED

I don't have the time and motivation anymore to properly maintain this project. If anyone is interested in taking over please drop me a mail at dunst@knopwob.de

edit: I've got some promising looking replies, so hopefully this message can be removed soon.

NAME

dunst - A customizable and lightweight notification-daemon

SYNOPSIS

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

DESCRIPTION

Dunst is a highly configurable and lightweight notification daemon.

OPTIONS

-h/--help

display help message.

-fn font

Defines the font or font set used. Optionally set the size as a decimal number after the font name and space. Multiple font options can be separated with commas.

-lb/nb/cb color

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

-lf/nf/cf color

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

-to secs

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

-lto/nto/cto secs

timeouts for low/normal/critical messages.

-key key

remove notification by pressing key.

-all_key key

remove all notifications by pressing key.

-history_key key

redisplay last notification by pressing key.

-format fmt

defines the format of the message. See FORMAT.

-mon n

show the notification on monitor n.

-follow mode

display notifications on focused monitor. Possible options are "mouse" to follow the mouse cursor, "keyboard" to follow the window with the keyboard focus and "none" to disable focus following. "mouse" and "keyboard" overwrite the -mon option.

-s

sort messages by urgency.

-ns

don't sort messages by urgency.

-geometry [{width}]x{height}][+/-{x}+/-{y}]

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 respectively. see also EXAMPLES show the notification on monitor n.

-t/-title title

Define the title of notification windows spawned by dunst.

-t/-class class

Define the class of notification windows spawned by dunst.

-shrink

Shrink window if it's smaller than the width. Will be ignored if width is 0.

-lh/-line_height height

The height of a single line in pixel. If the height is smaller than the font height, it will get raised to the font height.

-print

Print notifications to stdout. This might be useful for logging, setting up rules or using the output in other scripts.

-v/--version

print version information.

-config file

use alternative config file.

-always_run_script

Always run rule-defined scripts, even if the notification is suppressed with format = "".

FORMAT

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:

%a appname
%s summary
%b body
%i iconname (including its path)
%I iconname (without its path)
%p progress value ([ 0%] to [100%])

COLORS

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

NOTIFY-SEND

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. The progress value can be set with a hint, too.

notify-send -h string:fgcolor:#ff4444
notify-send -h string:bgcolor:#4444ff -h string:fgcolor:#ff4444
notify-send -h int:value:42 "Working ..."

MISCELLANEOUS

Dunst can be paused by sending a notification with a summary of "DUNST_COMMAND_PAUSE" and resumed with a summary of "DUNST_COMMAND_RESUME". Alternatively you can send SIGUSR1 and SIGUSR2 to pause and unpause respectively. For Example:

killall -SIGUSR1 dunst # pause
killall -SIGUSR2 dunst # resume

When paused dunst will not display any notifications but keep all notifications in a queue. This can for example be wrapped around a screen locker (i3lock, slock) to prevent flickering of notifications through the lock and to read all missed notifications after returning to the computer.

CONFIGURATION

An example configuration file is included (usually /usr/share/dunst/dunstrc). To change the configuration, copy this file to ~/.config/dunst/dunstrc and edit it accordingly.

AUTHOR

written by Sascha Kruse <knopwob@googlemail.com>

COPYRIGHT

copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information)

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

SEE ALSO

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