Remove parentheses from default song_list_format and browser_sort_format

master
Andrzej Rybczak 5 years ago
parent 480be457fd
commit 98c930109a
  1. 4
      doc/config
  2. 4
      src/settings.cpp

@ -231,7 +231,7 @@
## Note: colors can be nested.
##
#
#song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
#song_list_format = {%a - }{%t}|{$8%f$9}$R{$3%l$9}
#
#song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
#
@ -274,7 +274,7 @@
#
#browser_sort_mode = type
#
#browser_sort_format = {%a - }{%t}|{%f} {(%l)}
#browser_sort_format = {%a - }{%t}|{%f} {%l}
#
##### columns settings #####
##

@ -315,7 +315,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
});
p.add("message_delay_time", &message_delay_time, "5");
p.add("song_list_format", &song_list_format,
"{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}", [](std::string v) {
"{%a - }{%t}|{$8%f$9}$R{$3%l$9}", [](std::string v) {
return Format::parse(v);
});
p.add("song_status_format", &song_status_format,
@ -398,7 +398,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
return verbose_lexical_cast<SortMode>(v);
});
p.add("browser_sort_format", &browser_sort_format,
"{%a - }{%t}|{%f} {(%l)}", [](std::string v) {
"{%a - }{%t}|{%f} {%l}", [](std::string v) {
return Format::parse(v, Format::Flags::Tag);
});
p.add("song_columns_list_format", &song_columns_mode_format,

Loading…
Cancel
Save