+void
+setanselmgeoms(void) {
+
+ /* screen dimensions */
+ sx = 0;
+ sy = 0;
+ sw = DisplayWidth(dpy, screen);
+ sh = DisplayHeight(dpy, screen);
+
+ /* bar position */
+ bx = sx;
+ by = sy;
+ bw = 1280;
+ bh = dc.font.height + 2;
+
+ /* window area */
+ wx = sx;
+ wy = sy + bh;
+ ww = sw;
+ wh = sh - bh;
+
+ /* master area */
+ mx = wx;
+ my = wy;
+ mw = 1280;
+ mh = 800 - bh;
+
+ /* tile area */
+ tx = 1280;
+ ty = 0;
+ tw = sw - 1280;
+ th = sh;
+
+ /* monocle area */
+ mox = mx;
+ moy = my;
+ mow = mw;
+ moh = mh;
+}
+
+void
+anselmgeoms(const char *arg) {
+ setgeoms = setanselmgeoms;
+ setgeoms();
+ updatebarpos();
+ setlayout("[]|");
+}
+
+void
+defgeoms(const char *arg) {
+ setgeoms = setdefaultgeoms;
+ setgeoms();
+ updatebarpos();
+ setlayout("[]=");
+}
+