about summary refs log tree commit diff
path: root/config.def.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-11-08 22:48:43 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-11-08 22:48:43 +0100
commit3c91283ede911916452345d545435b08dce9d556 (patch)
treea4da41ed799abaffda5d7166a6c84d97cc4a4625 /config.def.h
parentsort include + whitespace fix (diff)
downloaddwm-3c91283ede911916452345d545435b08dce9d556.tar.gz
dwm-3c91283ede911916452345d545435b08dce9d556.tar.bz2
dwm-3c91283ede911916452345d545435b08dce9d556.zip
unboolification
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 76073a5..7054c06 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,8 +13,8 @@ static const char selbgcolor[]      = "#005577";
 static const char selfgcolor[]      = "#eeeeee";
 static const unsigned int borderpx  = 1;        /* border pixel of windows */
 static const unsigned int snap      = 32;       /* snap pixel */
-static const bool showbar           = true;     /* false means no bar */
-static const bool topbar            = true;     /* false means bottom bar */
+static const int showbar            = 1;        /* 0 means no bar */
+static const int topbar             = 1;        /* 0 means bottom bar */
 
 /* tagging */
 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -25,14 +25,14 @@ static const Rule rules[] = {
 	 *	WM_NAME(STRING) = title
 	 */
 	/* class      instance    title       tags mask     isfloating   monitor */
-	{ "Gimp",     NULL,       NULL,       0,            true,        -1 },
-	{ "Firefox",  NULL,       NULL,       1 << 8,       false,       -1 },
+	{ "Gimp",     NULL,       NULL,       0,            1,           -1 },
+	{ "Firefox",  NULL,       NULL,       1 << 8,       0,           -1 },
 };
 
 /* layout(s) */
-static const float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
-static const int nmaster      = 1;    /* number of clients in master area */
-static const bool resizehints = true; /* true means respect size hints in tiled resizals */
+static const float mfact     = 0.55; /* factor of master area size [0.05..0.95] */
+static const int nmaster     = 1;    /* number of clients in master area */
+static const int resizehints = 1;    /* 1 means respect size hints in tiled resizals */
 
 static const Layout layouts[] = {
 	/* symbol     arrange function */