Skip to content

Commit be4f1bd

Browse files
committed
Add docs
1 parent 5fa2cc3 commit be4f1bd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/dunst.5.pod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,9 @@ The foreground color of the notification. See COLORS for possible values.
913913
The highlight color of the notification. This color is used for coloring the
914914
progress bar. See COLORS for possible values.
915915

916+
You can also set additional color values (as a comma-separated list)
917+
to define a linear gradient spanning all the length of the progress bar.
918+
916919
=item C<format>
917920

918921
Equivalent to the C<format> setting.

test/option_parser.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,9 @@ TEST test_string_to_gradient(void)
782782

783783
for (int k = 0; k < grad->length; k++)
784784
ASSERTm(buf, COLOR_SAME(grad->colors[k], results[i]->colors[k]));
785+
786+
gradient_free(grad);
787+
grad = NULL;
785788
}
786789

787790
for (int i = 0; i < G_N_ELEMENTS(results); i++)

0 commit comments

Comments
 (0)