X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.anselm.h;h=937ab8128f209677b3c03fd441333f7272e93557;hb=2fc9cffdeb96dabd52bff22359a0091e1f1e2e4f;hp=0e0d3be3dce0b445d9fe135d48c0adee130ec94c;hpb=95eae7b9d25602cf5fb25ecbc9d92ead8005c1f8;p=dwm.git diff --git a/config.anselm.h b/config.anselm.h index 0e0d3be..937ab81 100644 --- a/config.anselm.h +++ b/config.anselm.h @@ -27,8 +27,8 @@ Rule rules[] = { 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 }, }; @@ -72,22 +72,19 @@ setanselmgeoms(void) { 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; - arrange(); + setlayout("[]|"); } void defgeoms(const char *arg) { setgeoms = setdefaultgeoms; - arrange(); + setlayout("[]="); } /* key definitions */