Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
updated my geoms function
[dwm.git]
/
config.anselm.h
diff --git
a/config.anselm.h
b/config.anselm.h
index
0e0d3be
..
77af948
100644
(file)
--- a/
config.anselm.h
+++ b/
config.anselm.h
@@
-27,8
+27,8
@@
Rule rules[] = {
Layout layouts[] = {
/* symbol function isfloating */
Layout layouts[] = {
/* symbol function isfloating */
- { "[]
=", tilev
, False }, /* first entry is default */
- { "[]
|", tileh
, False },
+ { "[]
|", tileh
, False }, /* first entry is default */
+ { "[]
=", tilev
, False },
{ "><>", floating, True },
{ "[M]", monocle, True },
};
{ "><>", floating, True },
{ "[M]", monocle, True },
};
@@
-58,13
+58,13
@@
setanselmgeoms(void) {
mx = wx;
my = wy;
mw = 1280;
mx = wx;
my = wy;
mw = 1280;
- mh = 800;
+ mh = 800
- bh
;
/* tile area */
tx = 1280;
ty = 0;
/* tile area */
tx = 1280;
ty = 0;
- tw =
w
w - 1280;
- th =
w
h;
+ tw =
s
w - 1280;
+ th =
s
h;
/* monocle area */
mox = mx;
/* monocle area */
mox = mx;
@@
-72,22
+72,21
@@
setanselmgeoms(void) {
mow = mw;
moh = mh;
mow = mw;
moh = mh;
- if(dc.drawable != 0)
- XFreePixmap(dpy, dc.drawable);
- dc.drawable = XCreatePixmap(dpy, root, bw, bh, DefaultDepth(dpy, screen));
- XMoveResizeWindow(dpy, barwin, bx, by, bw, bh);
+ updatebarpos();
}
void
anselmgeoms(const char *arg) {
setgeoms = setanselmgeoms;
}
void
anselmgeoms(const char *arg) {
setgeoms = setanselmgeoms;
- arrange();
+ setgeoms();
+ setlayout("[]|");
}
void
defgeoms(const char *arg) {
setgeoms = setdefaultgeoms;
}
void
defgeoms(const char *arg) {
setgeoms = setdefaultgeoms;
- arrange();
+ setgeoms();
+ setlayout("[]=");
}
/* key definitions */
}
/* key definitions */