JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
updated my geoms function
[dwm.git] / config.anselm.h
index ea0f52e..77af948 100644 (file)
@@ -58,13 +58,13 @@ setanselmgeoms(void) {
        mx = wx;
        my = wy;
        mw = 1280;
-       mh = 800;
+       mh = 800 - bh;
 
        /* tile area */
        tx = 1280;
        ty = 0;
-       tw = ww - 1280;
-       th = wh;
+       tw = sw - 1280;
+       th = sh;
 
        /* monocle area */
        mox = mx;
@@ -78,13 +78,15 @@ setanselmgeoms(void) {
 void
 anselmgeoms(const char *arg) {
        setgeoms = setanselmgeoms;
-       arrange();
+       setgeoms();
+       setlayout("[]|");
 }
 
 void
 defgeoms(const char *arg) {
        setgeoms = setdefaultgeoms;
-       arrange();
+       setgeoms();
+       setlayout("[]=");
 }
 
 /* key definitions */