summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-09-21 01:17:54 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2009-09-21 01:17:54 +0200
commitead5255df177dc3b05f1198246e2c2e71036de80 (patch)
treec2aa491b6fc440be5b050e661ab8d2bf04f7f067 /doc
parent5a887861d7fe9d67ee32f0f009ede1db6ea7a85f (diff)
new feature: support for custom prefix/suffix of now playing song
Diffstat (limited to 'doc')
-rw-r--r--doc/config23
-rw-r--r--doc/ncmpcpp.16
2 files changed, 22 insertions, 7 deletions
diff --git a/doc/config b/doc/config
index 3f425ca8..f1e9d273 100644
--- a/doc/config
+++ b/doc/config
@@ -115,12 +115,6 @@
#
#tag_editor_album_format = "{(%y) }%b"
#
-#browser_playlist_prefix = "$2playlist$9 "
-#
-#selected_item_prefix = "$6"
-#
-#selected_item_suffix = "$9"
-#
##
## Note: Below variables are for alternative version of user's interface.
## Their syntax supports all tags and colors listed above plus some extra
@@ -128,7 +122,7 @@
## After that you can put:
##
## - b - bold text
-## - u - underlined text
+## - u - underline text
## - r - reverse colors
## - a - use alternative character set
##
@@ -142,6 +136,21 @@
#
#alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}"
#
+##
+## Note: Below variables also supports
+## text attributes listed above.
+##
+#
+#now_playing_prefix = "$b"
+#
+#now_playing_suffix = "$/b"
+#
+#browser_playlist_prefix = "$2playlist$9 "
+#
+#selected_item_prefix = "$6"
+#
+#selected_item_suffix = "$9"
+#
## colors are not supported for below variable
#
#song_window_title_format = "{%a - }{%t}|{%f}"
diff --git a/doc/ncmpcpp.1 b/doc/ncmpcpp.1
index bfd310ed..316023c2 100644
--- a/doc/ncmpcpp.1
+++ b/doc/ncmpcpp.1
@@ -114,6 +114,12 @@ Prefix for playlists in Browser.
.B default_tag_editor_pattern = TEXT
Deafult pattern used by Tag editor's parser.
.TP
+.B now_playing_prefix = TEXT
+Prefix for currently playing song.
+.TP
+.B now_playing_suffix = TEXT
+Suffix for currently playing song.
+.TP
.B selected_item_prefix = TEXT
Prefix for selected items.
.TP