From b0353fc77099ec9e95310ca4e106d88985ee05b4 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Thu, 24 Jun 2004 16:08:24 +0000 Subject: Made the xterm title dynamic, added configuration option xterm-title-format git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1647 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/config.sample | 3 +++ doc/ncmpc.1 | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/config.sample b/doc/config.sample index 755068dcc..0630296d5 100644 --- a/doc/config.sample +++ b/doc/config.sample @@ -29,6 +29,9 @@ ## change the xterm title #set-xterm-title = no +## xterm title format +#xterm-title-format = "ncmpc: [ %name%|[%artist% - ]%title%|%file%]" + ## ## Color configuration ## diff --git a/doc/ncmpc.1 b/doc/ncmpc.1 index ac3a65a21..7e83ea6c6 100644 --- a/doc/ncmpc.1 +++ b/doc/ncmpc.1 @@ -84,15 +84,18 @@ Sound audible bell on alerts. .B visible\-bell = yes|no Visible bell on alerts. .TP -.B set\-xterm\-title = yes|no -Change the XTerm title (ncmpc will not restore the title). -.TP .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 set\-xterm\-title = yes|no +Change the XTerm title (ncmpc will not restore the title). +.TP +.B xterm\-title\-format = SONG FORMAT +The format used to for the xterm title when ncmpc is playing. +.TP .B enable\-colors = yes|no Enable/disable colors. .TP -- cgit v1.2.3