commit 35666867d15745ad4b3f28c8366f54c3ab507eef
parent 7fa8a7b7fdce006fac7352c639cfeebecbd2c92e
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 10 Sep 2022 20:47:27 +0200
ncmpcpp: better colors
Diffstat:
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/ncmpcpp/config b/ncmpcpp/config
@@ -27,10 +27,18 @@ song_library_format = {%t}|{%f}
song_columns_list_format = (20)[]{A|a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (20f)[magenta]{g:Genre} (7f)[magenta]{l}
alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}{ - $7%g$9}}|{%D}
-current_item_prefix = $(cyan)$r$b
-current_item_suffix = $/r$(end)$/b
-current_item_inactive_column_prefix = $(magenta)$r
-current_item_inactive_column_suffix = $/r$(end)
+
+# Here's how colors work:
+# start $(fg_bg), end $(end)
+# options: 0 (default window color (discards all other colors)), 1 (black), 2 (red), 3 (green), 4 (yellow), 5 (blue), 6 (magenta), 7 (cyan), 8 (white), 9 (end of current color). background can also be current or transparent.
+#
+# How attributes work:
+# start $attr, end $/attr
+# options: b (bold text), u (underline text), i (italic text), r (reverse colors), a (use alternative character set)
+current_item_prefix = $(black_cyan)
+current_item_suffix = $(end)
+current_item_inactive_column_prefix = $(blue)$b$u
+current_item_inactive_column_suffix = $/u$/b$(end)
playlist_display_mode = columns
playlist_editor_display_mode = columns