From 91f27dca2ca9791921ae080853d1bb27b37406c4 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 16 Jun 2004 11:18:48 +0000 Subject: 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 --- doc/ncmpc.1 | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'doc/ncmpc.1') 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" -- cgit v1.2.3