summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-03 14:42:34 +0000
committerokan <okan>2016-10-03 14:42:34 +0000
commit03f5dc219e20edbcf4b7eac1f733a188ab8f7c29 (patch)
treef0bde6dbe80ee735314c5a1136c8011d6bda14b0 /conf.c
parent792f85cde97742d0c580ee2354044870d0f8754f (diff)
downloadcwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.gz
cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.xz
cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.zip
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index e03b337..47a9566 100644
--- a/conf.c
+++ b/conf.c
@@ -254,9 +254,10 @@ conf_init(struct conf *c)
 {
 	unsigned int	i;
 
-	c->bwidth = CONF_BWIDTH;
-	c->mamount = CONF_MAMOUNT;
-	c->snapdist = CONF_SNAPDIST;
+	c->stickygroups = 0;
+	c->bwidth = 1;
+	c->mamount = 1;
+	c->snapdist = 0;
 
 	TAILQ_INIT(&c->ignoreq);
 	TAILQ_INIT(&c->cmdq);
@@ -279,7 +280,7 @@ conf_init(struct conf *c)
 	(void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s",
 	    homedir, ".ssh/known_hosts");
 
-	c->font = xstrdup(CONF_FONT);
+	c->font = xstrdup("sans-serif:pixelsize=14:bold");
 }
 
 void