summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 3c59f108..ecb66934 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -375,6 +375,7 @@ void NcmpcppConfig::SetDefaults()
new_header_second_line = "{{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}}";
browser_playlist_prefix << clRed << "(playlist)" << clEnd << ' ';
progressbar = U("=>\0");
+ visualizer_chars = U("◆│");
pattern = "%n - %t";
selected_item_prefix << clMagenta;
selected_item_suffix << clEnd;
@@ -907,6 +908,16 @@ void NcmpcppConfig::Read()
// if two characters were specified, add third one as null
progressbar.resize(3);
}
+ else if (name == "visualizer_look")
+ {
+ std::basic_string<my_char_t> vc = TO_WSTRING(v);
+ if (vc.length() != 2)
+ {
+ std::cerr << "Warning: length of visualizer_look should be 2, but it's " << vc.length() << ", discarding.\n";
+ }
+ else
+ visualizer_chars = vc;
+ }
else if (name == "default_tag_editor_pattern")
{
if (!v.empty())