# HG changeset patch # User jasonwryan # Date 1352873300 -46800 # Wed Nov 14 19:08:20 2012 +1300 # Node ID 142e9a7b7b24d4690b671d0f72e63f93938ae6d1 # Parent 17288421f31392e66ddc615d82287fe205aef1a2 Removed bstack It was superfluous diff --git a/bstack b/bstack deleted file mode 100644 --- a/bstack +++ /dev/null @@ -1,68 +0,0 @@ -# HG changeset patch -# Parent bb096a2b0c9fc66d3625a05f74c153f573b9452f - -diff -r bb096a2b0c9f config.def.h ---- a/config.def.h Mon Jul 23 09:14:29 2012 +1200 -+++ b/config.def.h Mon Jul 23 09:27:49 2012 +1200 -@@ -49,6 +49,7 @@ - /* symbol arrange function */ - { "[T]", tile }, /* first entry is default */ - { "[F]", NULL }, /* no layout function means floating behavior */ -+ { "[S]", bstack}, - { "[M]", monocle }, - }; - -@@ -104,7 +105,8 @@ - { MODKEY|ShiftMask, XK_c, killclient, {0} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, -- { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, -+ { MODKEY, XK_s, setlayout, {.v = &layouts[2]} }, -+ { MODKEY, XK_m, setlayout, {.v = &layouts[3]} }, - { MODKEY, XK_space, setlayout, {0} }, - { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, -diff -r bb096a2b0c9f dwm.c ---- a/dwm.c Mon Jul 23 09:14:29 2012 +1200 -+++ b/dwm.c Mon Jul 23 09:27:49 2012 +1200 -@@ -162,6 +162,7 @@ - static void arrangemon(Monitor *m); - static void attach(Client *c); - static void attachstack(Client *c); -+static void bstack(Monitor *m); - static void buttonpress(XEvent *e); - static void checkotherwm(void); - static void cleanup(void); -@@ -433,6 +434,32 @@ - } - - void -+bstack(Monitor *m) { -+ unsigned int i, n, w, mh, mx, tx; -+ Client *c; -+ -+ for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); -+ if(n == 0) -+ return; -+ -+ if(n > m->nmaster) -+ mh = m->nmaster ? m->wh * m->mfact : 0; -+ else -+ mh = m->wh; -+ for(i = mx = tx = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) -+ if(i < m->nmaster) { -+ w = (m->ww - mx) / (MIN(n, m->nmaster) - i); -+ resize(c, m->wx + mx, m->wy, w - (2*c->bw), mh - (2*c->bw), False); -+ mx += WIDTH(c); -+ } -+ else { -+ w = (m->ww - tx) / (n - i); -+ resize(c, m->wx + tx, m->wy + mh, w - (2*c->bw), m->wh - mh - (2*c->bw), False); -+ tx += WIDTH(c); -+ } -+} -+ -+void - buttonpress(XEvent *e) { - unsigned int i, x, click; - Arg arg = {0}; diff --git a/centurion.config b/centurion.config --- a/centurion.config +++ b/centurion.config @@ -1,9 +1,18 @@ # HG changeset patch -# Parent c9d1198e2c9e8ca5b837e4e6945ac7689598d5d7 +# Parent 9416734598f54c49ae1a7f4f6f335dd3d4c3265b -diff -r c9d1198e2c9e config.def.h ---- a/config.def.h Thu Oct 18 13:51:29 2012 +1300 -+++ b/config.def.h Thu Oct 18 13:55:07 2012 +1300 +diff -r 9416734598f5 config.def.h +--- a/config.def.h Tue Nov 13 20:26:01 2012 +1300 ++++ b/config.def.h Wed Nov 14 19:03:57 2012 +1300 +@@ -1,7 +1,7 @@ + /* See LICENSE file for copyright and license details. */ + + /* appearance */ +-static const char font[] = "Dejavu Sans Mono:medium:size=10.5"; ++static const char font[] = "Dejavu Sans Mono:medium:size=10"; + #define NUMCOLORS 9 + static const char colors[NUMCOLORS][ColLast][9] = { + // border foreground background @@ -9,7 +9,7 @@ { "#696969", "#E0E0E0", "#121212" }, // 1 = selected { "#212121", "#CF4F88", "#121212" }, // 2 = red diff --git a/series b/series --- a/series +++ b/series @@ -3,7 +3,6 @@ statuscolours cycle push -bstack #-block -fibonacci #-block -centurion.config #-block +fibonacci +centurion.config veles.config #-block diff --git a/statuscolours b/statuscolours --- a/statuscolours +++ b/statuscolours @@ -1,9 +1,9 @@ # HG changeset patch -# Parent 9746f5ded8a7a74c4caed7648626ce5670aad3ed +# Parent f7921b6ff80546680a25d3096d85aada8413572a -diff -r 9746f5ded8a7 config.def.h ---- a/config.def.h Thu Nov 08 17:25:49 2012 +1300 -+++ b/config.def.h Fri Nov 09 23:29:31 2012 +1300 +diff -r f7921b6ff805 config.def.h +--- a/config.def.h Mon Nov 12 12:34:02 2012 +1300 ++++ b/config.def.h Tue Nov 13 12:31:21 2012 +1300 @@ -1,13 +1,20 @@ /* See LICENSE file for copyright and license details. */ @@ -41,9 +41,9 @@ static const char *termcmd[] = { "urxvtc", NULL }; static const char *xtermcmd[] = { "xterm", NULL }; static const char *mailcmd[] = { "urxvtc", "-title", "mutt", "-e", "mutt", NULL }; -diff -r 9746f5ded8a7 dwm.c ---- a/dwm.c Thu Nov 08 17:25:49 2012 +1300 -+++ b/dwm.c Fri Nov 09 23:29:31 2012 +1300 +diff -r f7921b6ff805 dwm.c +--- a/dwm.c Mon Nov 12 12:34:02 2012 +1300 ++++ b/dwm.c Tue Nov 13 12:31:21 2012 +1300 @@ -52,6 +52,7 @@ #define LENGTH(X) (sizeof X / sizeof X[0]) #define MAX(A, B) ((A) > (B) ? (A) : (B))