aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-24 14:28:07 +0000
committerKalle Wallin <kaw@linux.se>2004-06-24 14:28:07 +0000
commit31e6fa72cc45147feb11d62eba70c3d8f314301d (patch)
treea0ade7c2bcb45987e1f6aece39a8202795afc608
parent3f76f8076c3e0a5cfcc14852e7f8badc023e4911 (diff)
downloadmpd-31e6fa72cc45147feb11d62eba70c3d8f314301d.tar.gz
mpd-31e6fa72cc45147feb11d62eba70c3d8f314301d.tar.xz
mpd-31e6fa72cc45147feb11d62eba70c3d8f314301d.zip
Added configuration option - set-xterm-title
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--doc/config.sample2
-rw-r--r--doc/ncmpc.13
-rw-r--r--src/conf.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/doc/config.sample b/doc/config.sample
index 2f8ba1cec..755068dcc 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 fb1dfa61d..ac3a65a21 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 343a8a4c5..0069489fa 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"