.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "dunst 1" .TH dunst 1 "2014-11-07" "1.1.0" "Dunst Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dunst \- A customizable and lightweight notification\-daemon .SH "SYNOPSIS" .IX Header "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] .SH "DESCRIPTION" .IX Header "DESCRIPTION" Dunst is a highly configurable and lightweight notification daemon. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-h/\-\-help\fR" 4 .IX Item "-h/--help" display help message. .IP "\fB\-fn font\fR" 4 .IX Item "-fn font" defines the font or font set used. .IP "\fB\-lb/nb/cb color\fR" 4 .IX Item "-lb/nb/cb color" defines the background color of low/normal/critical messages. .IP "\fB\-lf/nf/cf color\fR" 4 .IX Item "-lf/nf/cf color" defines the foreground color of low/normal/critical messages. .IP "\fB\-to secs\fR" 4 .IX Item "-to secs" defines the default timeout. Can be (partially) overridden by the following options. .IP "\fB\-lto/nto/cto secs\fR" 4 .IX Item "-lto/nto/cto secs" timeouts for low/normal/critical messages. .IP "\fB\-key key\fR" 4 .IX Item "-key key" remove notification by pressing key. .IP "\fB\-all_key key\fR" 4 .IX Item "-all_key key" remove all notifications by pressing key. .IP "\fB\-history_key key\fR" 4 .IX Item "-history_key key" redisplay last notification by pressing key. .IP "\fB\-format fmt\fR" 4 .IX Item "-format fmt" defines the format of the message. See \s-1FORMAT.\s0 .IP "\fB\-mon n\fR" 4 .IX Item "-mon n" show the notification on monitor n. .IP "\fB\-follow mode\fR" 4 .IX Item "-follow mode" display notifications on focused monitor. Possible options are \*(L"mouse\*(R" to follow the mouse cursor, \*(L"keyboard\*(R" to follow the window with the keyboard focus and \*(L"none\*(R" to disable focus following. \*(L"mouse\*(R" and \*(L"keyboard\*(R" overwrite the \-mon option. .IP "\fB\-s\fR" 4 .IX Item "-s" sort messages by urgency. .IP "\fB\-ns\fR" 4 .IX Item "-ns" don't sort messages by urgency. .IP "\fB\-geometry [{width}]x{height}][+/\-{x}+/\-{y}]\fR" 4 .IX Item "-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 (\*(L"\-geometry x2\*(R"), 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 \s-1EXAMPLES\s0 show the notification on monitor n. .IP "\fB\-t/\-title title\fR" 4 .IX Item "-t/-title title" Define the title of notification windows spawned by dunst. .IP "\fB\-t/\-class class\fR" 4 .IX Item "-t/-class class" Define the class of notification windows spawned by dunst. .IP "\fB\-shrink\fR" 4 .IX Item "-shrink" Shrink window if it's smaller than the width. Will be ignored if width is 0. .IP "\fB\-lh/\-line_height\fR height" 4 .IX Item "-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. .IP "\fB\-print\fR" 4 .IX Item "-print" Print notifications to stdout. This might be useful for logging, setting up rules or using the output in other scripts. .IP "\fB\-v/\-\-version\fR" 4 .IX Item "-v/--version" print version information. .IP "\fB\-config file\fR" 4 .IX Item "-config file" use alternative config file. .SH "FORMAT" .IX Header "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: .IP "\fB\f(CB%a\fB\fR appname" 4 .IX Item "%a appname" .PD 0 .IP "\fB\f(CB%s\fB\fR summary" 4 .IX Item "%s summary" .IP "\fB\f(CB%b\fB\fR body" 4 .IX Item "%b body" .IP "\fB\f(CB%i\fB\fR iconname (including its path)" 4 .IX Item "%i iconname (including its path)" .IP "\fB\f(CB%I\fB\fR iconname (without its path)" 4 .IX Item "%I iconname (without its path)" .IP "\fB\f(CB%p\fB\fR progress value ([ 0%] to [100%])" 4 .IX Item "%p progress value ([ 0%] to [100%])" .PD .SH "COLORS" .IX Header "COLORS" Every option that needs a color as argument accepts #RGB, #RRGGBB and X color names. .SH "NOTIFY-SEND" .IX Header "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. .IP "notify-send \-h string:fgcolor:#ff4444" 4 .IX Item "notify-send -h string:fgcolor:#ff4444" .PD 0 .IP "notify-send \-h string:bgcolor:#4444ff \-h string:fgcolor:#ff4444" 4 .IX Item "notify-send -h string:bgcolor:#4444ff -h string:fgcolor:#ff4444" .ie n .IP "notify-send \-h int:value:42 ""Working ...""" 4 .el .IP "notify-send \-h int:value:42 ``Working ...''" 4 .IX Item "notify-send -h int:value:42 Working ..." .PD .SH "MISCELLANEOUS" .IX Header "MISCELLANEOUS" Dunst can be paused by sending a notification with a summary of \*(L"\s-1DUNST_COMMAND_PAUSE\*(R"\s0 and resumed with a summary of \*(L"\s-1DUNST_COMMAND_RESUME\*(R".\s0 Alternatively you can send \s-1SIGUSR1\s0 and \s-1SIGUSR2\s0 to pause and unpause respectivly. For Example: .IP "killall \-SIGUSR1 dunst # pause" 4 .IX Item "killall -SIGUSR1 dunst # pause" .PD 0 .IP "killall \-SIGUSR2 dunst # resume" 4 .IX Item "killall -SIGUSR2 dunst # resume" .PD .PP 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. .SH "CONFIGURATION" .IX Header "CONFIGURATION" An example configuration file is included (usually /usr/share/doc/dunst/dunstrc.example.gz). To change the configuration, copy this file to ~/.config/dunst/dunstrc and edit it accordingly. .SH "AUTHOR" .IX Header "AUTHOR" written by Sascha Kruse .SH "COPYRIGHT" .IX Header "COPYRIGHT" copyright 2013 Sascha Kruse and contributors (see \s-1LICENSE\s0 for licensing information) .PP If you feel that copyrights are violated, please send me an email. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdwm\fR\|(1), \fIdmenu\fR\|(1), \fItwmn\fR\|(1), \fInotify\-send\fR\|(1)