document new placeholder
This commit is contained in:
parent
3162d6569e
commit
bcd3a79b1c
@ -119,6 +119,8 @@ fmt is a string containing placeholders. The placeholders will be replaced with
|
||||
|
||||
=item B<%I> iconname (without its path)
|
||||
|
||||
=item B<%p> progress value if set ([ 0%] to [100%]) or nothing
|
||||
|
||||
=back
|
||||
|
||||
=head1 COLORS
|
||||
@ -131,6 +133,7 @@ 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.
|
||||
The progress value can be set with a hint, too.
|
||||
|
||||
=over 4
|
||||
|
||||
@ -138,6 +141,8 @@ In order to do that you have to add a hint via the -h option.
|
||||
|
||||
=item notify-send -h string:bgcolor:#4444ff -h string:fgcolor:#ff4444
|
||||
|
||||
=item notify-send -h int:value:42 "Working ..."
|
||||
|
||||
=back
|
||||
|
||||
=head1 CONFIGURATION
|
||||
|
2
dunst.h
2
dunst.h
@ -54,7 +54,7 @@ typedef struct _notification {
|
||||
int dup_count;
|
||||
ColorSet *colors;
|
||||
char *color_strings[2];
|
||||
int progress;
|
||||
int progress; /* percentage + 1, 0 to hide */
|
||||
} notification;
|
||||
|
||||
typedef struct _notification_buffer {
|
||||
|
Loading…
x
Reference in New Issue
Block a user