From: Kalle Wallin Date: Thu, 24 Jun 2004 14:28:07 +0000 (+0000) Subject: Added configuration option - set-xterm-title X-Git-Tag: v0.12_alpha1~493 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31e6fa72cc45147feb11d62eba70c3d8f314301d;p=ncmpc.git Added configuration option - set-xterm-title git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/doc/config.sample b/doc/config.sample index 2f8ba1c..755068d 100644 --- a/doc/config.sample +++ b/doc/config.sample @@ -26,6 +26,8 @@ ## enable visible bell on alerts #visible-bell = no +## change the xterm title +#set-xterm-title = no ## ## Color configuration diff --git a/doc/ncmpc.1 b/doc/ncmpc.1 index fb1dfa6..ac3a65a 100644 --- a/doc/ncmpc.1 +++ b/doc/ncmpc.1 @@ -84,6 +84,9 @@ 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 diff --git a/src/conf.c b/src/conf.c index 343a8a4..0069489 100644 --- a/src/conf.c +++ b/src/conf.c @@ -57,7 +57,7 @@ #define CONF_FIND_WRAP "find-wrap" #define CONF_AUDIBLE_BELL "audible-bell" #define CONF_VISIBLE_BELL "visible-bell" -#define CONF_XTERM_TITLE "xterm-title" +#define CONF_XTERM_TITLE "set-xterm-title" /* Deprecated - configuration field names */ #define OLD_CONF_ENABLE_COLORS "enable_colors"