diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-16 11:18:48 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-16 11:18:48 +0000 |
commit | 91f27dca2ca9791921ae080853d1bb27b37406c4 (patch) | |
tree | 489ee80fa39e54f2df626695f7f6b620324af315 /doc/ncmpc.1 | |
parent | 1cc4b2dbf575a749ead50210355e2cfcfd623171 (diff) | |
download | mpd-91f27dca2ca9791921ae080853d1bb27b37406c4.tar.gz mpd-91f27dca2ca9791921ae080853d1bb27b37406c4.tar.xz mpd-91f27dca2ca9791921ae080853d1bb27b37406c4.zip |
Changed option syntax and added list-format and status-format to CONFIGURATION
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1510 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'doc/ncmpc.1')
-rw-r--r-- | doc/ncmpc.1 | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/ncmpc.1 b/doc/ncmpc.1 index bf471e755..40183d35c 100644 --- a/doc/ncmpc.1 +++ b/doc/ncmpc.1 @@ -65,14 +65,20 @@ Possible text colors are the base colors plus grey, brightred, brightgreen, brig Supported configuration options: .TP -.B auto_center = yes|no +.B auto\-center = yes|no Enable/disable auto center mode. When auto center mode is enabled ncmpc centers the current track in the playlist window. .TP -.B wide_cursor = yes|no +.B wide\-cursor = yes|no Make the cursor as wide as the screen. .TP -.B enable_colors = yes|no +.B list\-format = SONG FORMAT +The format used to display songs in the main window. +.TP +.B status\-format = SONG FORMAT +The format used to display songs on the status line. +.TP +.B enable\-colors = yes|no Enable/disable colors. .TP .B color background = COLOR @@ -119,6 +125,19 @@ When ncmpc start it tries to read user key bindings from the ~/ncmpc/keys file. You can view ncmpc's key bindings by pressing '1' (help) when ncmpc is running. To edit key bindings use the key editor in ncmpc (press 'K'). +.SH "SONG FORMAT" +Format of song display for status and the list window. +The metadata delimeters are: %name%, %artist%, %track%, %time%, %file%, %shortfile%. + +The [] operators is used to group output such that if no metadata delimeters are found or matched between '[' and ']', then none of the characters between '[' and ']' are outputed. '&' and '|' are logical operators for and and or. '#' is used to escape characters. + +Some useful examples for format are: + + "%file%" + +and + + "[[%artist% \- ]%title%]|[%file]" .SH "BUGS" Report bugs on http://www.musicpd.org/mantis/ .SH "NOTE" |