Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bynect committed Aug 17, 2024
1 parent 5fa2cc3 commit be4f1bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/dunst.5.pod
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,9 @@ The foreground color of the notification. See COLORS for possible values.
The highlight color of the notification. This color is used for coloring the
progress bar. See COLORS for possible values.

You can also set additional color values (as a comma-separated list)
to define a linear gradient spanning all the length of the progress bar.

=item C<format>

Equivalent to the C<format> setting.
Expand Down
3 changes: 3 additions & 0 deletions test/option_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,9 @@ TEST test_string_to_gradient(void)

for (int k = 0; k < grad->length; k++)
ASSERTm(buf, COLOR_SAME(grad->colors[k], results[i]->colors[k]));

gradient_free(grad);
grad = NULL;
}

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

0 comments on commit be4f1bd

Please sign in to comment.