about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTodd Fries <todd@fries.net>2011-01-12 19:25:33 +0000
committerTodd Fries <todd@fries.net>2011-01-12 19:25:33 +0000
commitf9482786cd0a149978489b65b064200e74065bd6 (patch)
tree37c6f3e4d5338010be96d85e0a50c5422595a886
parente67bb5d818cf2429ae2d09c917c5bac508c312c9 (diff)
downloadxombrero-f9482786cd0a149978489b65b064200e74065bd6.tar.gz
show_{tab,url} in conf + doco
-rw-r--r--xxxterm.14
-rw-r--r--xxxterm.c2
-rw-r--r--xxxterm.conf2
3 files changed, 8 insertions, 0 deletions
diff --git a/xxxterm.1 b/xxxterm.1
index 4e3cdf3..a021cd9 100644
--- a/xxxterm.1
+++ b/xxxterm.1
@@ -533,6 +533,10 @@ If this value is greater than 3600 then it is the time added in seconds to a
 session cookie.
 If the value is smaller than 3600 then there is no change
 to the expiration of a session cookie.
+.It Cm show_tabs
+Enable or disable showing tabs.
+.It Cm show_url
+Enable or disable showing the url and toolbar.
 .It Cm single_instance
 If set only one
 .Nm
diff --git a/xxxterm.c b/xxxterm.c
index 8a9ba34..d52de4a 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -535,6 +535,8 @@ struct settings {
 	{ "save_global_history", XT_S_INT, XT_SF_RESTART , &save_global_history, NULL, NULL },
 	{ "save_rejected_cookies", XT_S_INT, XT_SF_RESTART , &save_rejected_cookies, NULL, NULL },
 	{ "single_instance", XT_S_INT, XT_SF_RESTART , &single_instance, NULL, NULL },
+	{ "show_tabs", XT_S_INT, 0, &showtabs, NULL, NULL },
+	{ "show_url", XT_S_INT, 0, &showurl, NULL, NULL },
 	{ "ssl_ca_file", XT_S_STR, 0 , NULL, &ssl_ca_file, NULL },
 	{ "ssl_strict_certs", XT_S_INT, 0 , &ssl_strict_certs, NULL, NULL },
 	{ "user_agent", XT_S_STR, 0 , NULL, &user_agent, NULL },
diff --git a/xxxterm.conf b/xxxterm.conf
index 35dfdc0..ee794a2 100644
--- a/xxxterm.conf
+++ b/xxxterm.conf
@@ -19,6 +19,8 @@ ssl_strict_certs	= 0
 enable_socket		= 0
 single_instance		= 0
 save_global_history	= 0
+show_tabs		= 1
+show_url		= 1
 
 # note that cookies_enabled must be set to 1 for this to work
 save_rejected_cookies	= 0