Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Configure geometry before applying rules
[dwm.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
875885b
..
7054c06
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,7
+1,10
@@
/* See LICENSE file for copyright and license details. */
/* appearance */
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
+static const char *fonts[] = {
+ "monospace:size=10"
+};
+static const char dmenufont[] = "monospace:size=10";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#222222";
static const char normfgcolor[] = "#bbbbbb";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#222222";
static const char normfgcolor[] = "#bbbbbb";
@@
-10,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 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" };
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@
-22,14
+25,14
@@
static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
* 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) */
};
/* 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 */
static const Layout layouts[] = {
/* symbol arrange function */
@@
-51,7
+54,7
@@
static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
+static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn",
dmenu
font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
static const char *termcmd[] = { "st", NULL };
static Key keys[] = {