X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/02673538bc98daeb2fe31d3667b5f3e0884e4831..f77a3d0a62b09f2923b8e2c7e739600ab8283abb:/config.anselm.h diff --git a/config.anselm.h b/config.anselm.h index f546941..77af948 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 }, }; @@ -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 */