Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
setlayout and setgeom are now togglable again
[dwm.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
76e7ed3
..
9c15313
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-15,10
+15,7
@@
const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
Rule rules[] = {
/* class instance title tags ref isfloating */
Rule rules[] = {
/* class instance title tags ref isfloating */
- { NULL, NULL, "Firefox", tags[8], False },
- { NULL, NULL, "Gimp", NULL, True },
- { NULL, NULL, "MPlayer", NULL, True },
- { NULL, NULL, "Acroread", NULL, True },
+ { "Gimp", NULL, NULL, NULL, True },
};
/* geometries, s{x,y,w,h} and bh are already initualized here */
};
/* geometries, s{x,y,w,h} and bh are already initualized here */
@@
-28,8
+25,8
@@
DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, w
Geom geoms[] = {
/* symbol function */
Geom geoms[] = {
/* symbol function */
- { "
<>
", single }, /* first entry is default */
- { "
)(",
dual },
+ { "
[]
", single }, /* first entry is default */
+ { "
[][]",
dual },
};
/* layout(s) */
};
/* layout(s) */
@@
-48,22
+45,18
@@
Layout layouts[] = {
#define MODKEY Mod1Mask
Key keys[] = {
/* modifier key function argument */
#define MODKEY Mod1Mask
Key keys[] = {
/* modifier key function argument */
- { MODKEY, XK_a, setgeom, ")(" },
- { MODKEY, XK_d, setgeom, "<>" },
{ MODKEY, XK_p, spawn,
"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
{ MODKEY, XK_p, spawn,
"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
- { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" },
+ { MODKEY|ShiftMask, XK_Return, spawn,
"exec uxterm" },
{ MODKEY, XK_j, focusnext, NULL },
{ MODKEY, XK_k, focusprev, NULL },
{ MODKEY, XK_r, reapply, NULL },
{ MODKEY, XK_Return, zoom, NULL },
{ MODKEY, XK_Tab, viewprevtag, NULL },
{ MODKEY, XK_j, focusnext, NULL },
{ MODKEY, XK_k, focusprev, NULL },
{ MODKEY, XK_r, reapply, NULL },
{ MODKEY, XK_Return, zoom, NULL },
{ MODKEY, XK_Tab, viewprevtag, NULL },
- { MODKEY, XK_m, setlayout, "[M]" },
- { MODKEY, XK_f, setlayout, "><>" },
- { MODKEY, XK_v, setlayout, "[]=" },
- { MODKEY, XK_h, setlayout, "[]|" },
- { MODKEY|ShiftMask, XK_space, togglefloating, NULL },
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
+ { MODKEY, XK_space, setlayout, NULL },
+ { MODKEY|ShiftMask, XK_space, togglefloating, NULL },
+ { MODKEY|ControlMask, XK_space, setgeom, NULL },
{ MODKEY, XK_0, view, NULL },
{ MODKEY, XK_1, view, tags[0] },
{ MODKEY, XK_2, view, tags[1] },
{ MODKEY, XK_0, view, NULL },
{ MODKEY, XK_1, view, tags[0] },
{ MODKEY, XK_2, view, tags[1] },