From 24c8c90aea93d90a6d7de3ac2e1030568a9985ea Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Wed, 8 Apr 2020 19:20:42 +0000 Subject: [PATCH] Update suckless config --- .suckless/dwm/config.h | 14 +- .suckless/dwm/dwm | Bin 62496 -> 62496 bytes .suckless/dwm/dwm.c | 64 ++++--- .suckless/dwm/dwm.o | Bin 59088 -> 59424 bytes .../patches/dwm-ru_centeredmaster-6.2.diff | 157 ++++++++++++++++++ .suckless/st/st | Bin 102256 -> 102208 bytes .suckless/st/st.o | Bin 73200 -> 73184 bytes .suckless/st/x.o | Bin 73912 -> 73896 bytes 8 files changed, 204 insertions(+), 31 deletions(-) create mode 100644 .suckless/dwm/patches/dwm-ru_centeredmaster-6.2.diff diff --git a/.suckless/dwm/config.h b/.suckless/dwm/config.h index 5eff9f8..18ef6bb 100644 --- a/.suckless/dwm/config.h +++ b/.suckless/dwm/config.h @@ -1,7 +1,7 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int gappx = 5; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ @@ -9,13 +9,13 @@ static const int topbar = 0; /* 0 means bottom bar */ static const char *fonts[] = { "Iosevka:size=10" }; static const char dmenufont[] = "Iosevka:size=10"; static const char col_gray1[] = "#000000"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; +static const char col_gray2[] = "#222222"; +static const char col_gray3[] = "#444444"; static const char col_gray4[] = "#eeeeee"; static const char *colors[][3] = { /* fg bg border */ - [SchemeNorm] = { col_gray2, col_gray1, col_gray1 }, - [SchemeSel] = { col_gray3, col_gray1, col_gray2 }, + [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, + [SchemeSel] = { col_gray4, col_gray1, col_gray3 }, }; /* tagging */ @@ -78,8 +78,8 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, - { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, - { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, + { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, + { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, diff --git a/.suckless/dwm/dwm b/.suckless/dwm/dwm index 1cffb9ec9f1342773d0842bf8b4853d003c69a52..45148946acda8dd762b9bc52bbab915a2133a70f 100755 GIT binary patch delta 15114 zcmZ`=3w#V$+n=4-h)Xt$gdiaZ5|>CwNXY7LY-GcV$c0FRxD!-LLJ&5rkm*>}9{s8} zms0ntHq}zMkchZ8LR*)&s;ccoT!OxC_1f=$X6EG8{l3ocXP-0w=X%b0&Y9NL(}-(v7CIpJC-!pgfzO`M!CIQ60Z?8-lkt>WPQA|@t7l*r~KY<^798?XN?U@ zBtGAp|2d6JXf>GMlTLQF3gOKoORly`(Acu4DC!#zDbzzD-04M1W3LN7MaB2K;I#`C z`AQeO*K7s9;exN7F5@=N0R)3Djwj1A77>Dhq~Z#`3fHCf_I#x;8`*r z&2h}}A1f3_v5Ug;84A9}1s^<(OlT9*#%rd+)|V@kne&=ScD4!O@6RSz+l1JX7c1Nx z7paM}RO2rA`DF^e*9BizsNhvD_^$a1Ugv@jQ{=mI`V)!(3olz$2z9{`@0V@muy3{v zv9)I5xk$w=Rjlp(2fWG!|5F{Lx_`j+6@QOzxgu}lLjQjTm*|2YQ~Jr}xZulFe2oj9 zs;1>$7o5%Jei_7Ct1!oQtU2x_g#|5wNfD6t# zkiOT2!5mb%;LJgt3(g$q&$)J>B&OpMjYcBJI`tx@ojl0XPI}D^(kQT(MkQOl0W-h;rphL?;->E1^r7NL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pP(8@;`3ry7cY(3{vE#Rv^>dZsJfCdE@Om!K@=P9<(TCQ}42I`0`IZbn zr{fvII>u%g2<;i(nc;+K&@Q~-MKGKnP$5jdH^Y6Vk*fzI96S$J7(1OeV-s7z z@W~A4`BEOkXEL1US)CYO$Z($RX;)$JmNT3s1rDK*HF%9NcCyUt2E*TH_=hZ?;S=>S z!}zp;oPET zNR_Fk$~n3qKkC~uT$oD^)I>Oj%+=XPpoTtonL0l9dgG`~t;~s}hFu3syT_Tp$eR*RsV7 zU(axUZJVs&yZctk6HYjvNJXhhW%L&=NQg&?UxvSf#IEs zbU?d^qj-(sJk?_XN~mKvOA#}KkxbD&#@Mz@2fCxKJ)Zhf&o0rcX$)@0aQ>g%{Mq>C zGCdbxB0Y~rh-Hd1`{*puu+e$?xWgc3l{!bB{FfGIub=8{6zf+zn}1^x#jjU8JDfjg u5YMl0Ucb;;6n|2j%`e|-A^N8gu|A?nPO08&PATbIe^9J%?i6pg_4t4CMV#aS diff --git a/.suckless/dwm/dwm.c b/.suckless/dwm/dwm.c index e456615..e36f74f 100644 --- a/.suckless/dwm/dwm.c +++ b/.suckless/dwm/dwm.c @@ -2175,13 +2175,19 @@ centeredmaster(Monitor *m) /* count number of clients in the selected monitor */ for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); + if (n == 0) return; + if(n == 1){ + c = nexttiled(m->clients); + resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); + return; + } /* initialize areas */ mw = m->ww; mx = 0; - my = 0; + my = m->gappx; tw = mw; if (n > m->nmaster) { @@ -2196,28 +2202,31 @@ centeredmaster(Monitor *m) } } - oty = 0; - ety = 0; + oty = m->gappx; + ety = m->gappx; for (i = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) if (i < m->nmaster) { /* nmaster clients are stacked vertically, in the center * of the screen */ h = (m->wh - my) / (MIN(n, m->nmaster) - i); - resize(c, m->wx + mx, m->wy + my, mw - (2*c->bw), - h - (2*c->bw), 0); - my += HEIGHT(c); + if(m->nmaster >= n) + resize(c, m->wx + mx + m->gappx, m->wy + my, mw - 2*(c->bw + m->gappx), + h - (2*c->bw) - m->gappx, 0); + else if(m->nmaster + 1 < n) + resize(c, m->wx + mx + m->gappx/2, m->wy + my, mw - 2*c->bw - m->gappx, h - 2*c->bw - m->gappx, 0); + else + resize(c, m->wx + mx + m->gappx, m->wy + my, mw - 2*c->bw - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); + my += HEIGHT(c) + m->gappx; } else { /* stack clients are stacked vertically */ - if ((i - m->nmaster) % 2 ) { + if ((i - m->nmaster) % 2) { h = (m->wh - ety) / ( (1 + n - i) / 2); - resize(c, m->wx, m->wy + ety, tw - (2*c->bw), - h - (2*c->bw), 0); - ety += HEIGHT(c); + resize(c, m->wx + m->gappx, m->wy + ety, tw - (2*c->bw) - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); + ety += HEIGHT(c) + m->gappx; } else { h = (m->wh - oty) / ((1 + n - i) / 2); - resize(c, m->wx + mx + mw, m->wy + oty, - tw - (2*c->bw), h - (2*c->bw), 0); - oty += HEIGHT(c); + resize(c, m->wx + mx + mw + m->gappx/2, m->wy + oty, tw - (2*c->bw) - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); + oty += HEIGHT(c) + m->gappx; } } } @@ -2232,6 +2241,11 @@ centeredfloatingmaster(Monitor *m) for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); if (n == 0) return; + if(n == 1){ + c = nexttiled(m->clients); + resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); + return; + } /* initialize nmaster area */ if (n > m->nmaster) { @@ -2243,29 +2257,31 @@ centeredfloatingmaster(Monitor *m) mh = m->nmaster ? m->wh * m->mfact : 0; mw = m->nmaster ? m->ww * 0.9 : 0; } - mx = mxo = (m->ww - mw) / 2; + mx = mxo = (m->ww - mw + m->gappx) / 2; my = myo = (m->wh - mh) / 2; } else { /* go fullscreen if all clients are in the master area */ mh = m->wh; mw = m->ww; - mx = mxo = 0; + mx = m->gappx; + mxo = 0; my = myo = 0; } - for(i = tx = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) + tx = m->gappx; + for(i = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) if (i < m->nmaster) { /* nmaster clients are stacked horizontally, in the center * of the screen */ - w = (mw + mxo - mx) / (MIN(n, m->nmaster) - i); - resize(c, m->wx + mx, m->wy + my, w - (2*c->bw), - mh - (2*c->bw), 0); - mx += WIDTH(c); + w = (mw + mxo - mx) / (MIN(n, m->nmaster) - i) + m->gappx; + resize(c, m->wx + mx, m->wy + my + m->gappx, w - 2*(c->bw + m->gappx), + mh - 2*(c->bw + m->gappx), 0); + mx += WIDTH(c) + m->gappx; } else { /* stack clients are stacked horizontally */ - w = (m->ww - tx) / (n - i); - resize(c, m->wx + tx, m->wy, w - (2*c->bw), - m->wh - (2*c->bw), 0); - tx += WIDTH(c); + w = (m->ww - tx) / (n - i) + m->gappx; + resize(c, m->wx + tx, m->wy + m->gappx, w - 2*(c->bw + m->gappx), + m->wh - 2*(c->bw + m->gappx), 0); + tx += WIDTH(c) + m->gappx; } } diff --git a/.suckless/dwm/dwm.o b/.suckless/dwm/dwm.o index d68b849be952fb3a8a8e81916c1052dbe2caea88..414deb3183ad122e0a86df59bd54feab6f032385 100644 GIT binary patch delta 16152 zcmZ{r3s_Xu_Q20M_yB`pROA4npkne+WXv=WiP1qpt?WkSTk&!KX=Zpe^OiY2(wasJ z-FDTou5_(`Y2CD`)U?7EJ~9K+v@**_2HFF$)UG9Wt#j6b?Y`ga?>pyke(Sl{-e=F5 zaa;Lm$hyjq(qv=Z>CLHYnj2R_1ACj#H#!#h8r=7}@6B`l#^n3G6KdvN zZD=U)?GZ(x?Y(<-P0RBS&UX9ny3M`#PyLY$xBvd$ZvUeh!+byFxemDfPbTGqPX6LO zF{8)o9b?(ww?|7>Ug{ir~FLX3dFYh-jso9{CsL(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z3^&< z)84W`*#S_bSpG>oLE*SZ&7}?gV?ph9S#m`CiV78dYOgH{r@dvR3a8#YWpXk8n|20t zh1R@`H7Gpfuh^>V-JQD4p7FRXC+ns&LvyRjqK`=A;G6X$XbqPmKw+)G;vMnO|ic5;B+?j8DVys@pZXW+Mw>aGyG6{WA7Y*1*< z(Oyn<&8KajBNctxCOS>w=OQh?ixiF1Goh=D4{b*^ptWp5lgrBW&+JwJI;j{_ANa3^zzq}rY zc}=_ULvT5yz_<%vOHnv=!8C=_Slp;^+Ld3SaC29_Tvxl{Dn@~6TmCSGH*IaT&@_e9 zw*2J^$8Gsqk-}+L{vqHpzS-|GIBmI0fU{0i2e@#nL1T^on6iyFQPbr)> z>Mv7xM3fb{LgBQ1KiY-MA!S7S_p=mE`}Zd+ytKU)V5!1sL;oIy(}w=D$Xyhe7W&(Y z0j=lFnplBIpLX>pcbf|EeOOpF-be^#jl^UYNq^fxNH6>CIuJ!s)?vuH}z-{8~0r;q)H>mMWZnBDOHzUOIaZKMXa)wV49Yk5ebljtdX#jkor(8blMtkJv=S z#SmkWTlBh^YTShv>5HkNCaaOyb1_L?SC=Ol6Z?r?<*7!(b}<>", NULL }, /* no layout function means floating behavior */ + { "[M]", monocle }, ++ { "|M|", centeredmaster }, ++ { ">M>", centeredfloatingmaster }, + }; + + /* key definitions */ +@@ -77,6 +79,8 @@ static Key keys[] = { + { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, + { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, + { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, ++ { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, ++ { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[4]} }, + { MODKEY, XK_space, setlayout, {0} }, + { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, + { MODKEY, XK_0, view, {.ui = ~0 } }, +diff -up a/dwm.c b/dwm.c +--- a/dwm.c 2019-07-24 08:59:14.432615503 +0200 ++++ b/dwm.c 2019-07-24 09:24:16.192110897 +0200 +@@ -235,6 +235,8 @@ static int xerror(Display *dpy, XErrorEv + static int xerrordummy(Display *dpy, XErrorEvent *ee); + static int xerrorstart(Display *dpy, XErrorEvent *ee); + static void zoom(const Arg *arg); ++static void centeredmaster(Monitor *m); ++static void centeredfloatingmaster(Monitor *m); + + /* variables */ + static const char broken[] = "broken"; +@@ -2176,3 +2178,122 @@ main(int argc, char *argv[]) + XCloseDisplay(dpy); + return EXIT_SUCCESS; + } ++ ++void ++centeredmaster(Monitor *m) ++{ ++ unsigned int i, n, h, mw, mx, my, oty, ety, tw; ++ Client *c; ++ ++ /* count number of clients in the selected monitor */ ++ for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); ++ ++ if (n == 0) ++ return; ++ if(n == 1){ ++ c = nexttiled(m->clients); ++ resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); ++ return; ++ } ++ ++ /* initialize areas */ ++ mw = m->ww; ++ mx = 0; ++ my = m->gappx; ++ tw = mw; ++ ++ if (n > m->nmaster) { ++ /* go mfact box in the center if more than nmaster clients */ ++ mw = m->nmaster ? m->ww * m->mfact : 0; ++ tw = m->ww - mw; ++ ++ if (n - m->nmaster > 1) { ++ /* only one client */ ++ mx = (m->ww - mw) / 2; ++ tw = (m->ww - mw) / 2; ++ } ++ } ++ ++ oty = m->gappx; ++ ety = m->gappx; ++ for (i = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) ++ if (i < m->nmaster) { ++ /* nmaster clients are stacked vertically, in the center ++ * of the screen */ ++ h = (m->wh - my) / (MIN(n, m->nmaster) - i); ++ if(m->nmaster >= n) ++ resize(c, m->wx + mx + m->gappx, m->wy + my, mw - 2*(c->bw + m->gappx), ++ h - (2*c->bw) - m->gappx, 0); ++ else if(m->nmaster + 1 < n) ++ resize(c, m->wx + mx + m->gappx/2, m->wy + my, mw - 2*c->bw - m->gappx, h - 2*c->bw - m->gappx, 0); ++ else ++ resize(c, m->wx + mx + m->gappx, m->wy + my, mw - 2*c->bw - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); ++ my += HEIGHT(c) + m->gappx; ++ } else { ++ /* stack clients are stacked vertically */ ++ if ((i - m->nmaster) % 2) { ++ h = (m->wh - ety) / ( (1 + n - i) / 2); ++ resize(c, m->wx + m->gappx, m->wy + ety, tw - (2*c->bw) - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); ++ ety += HEIGHT(c) + m->gappx; ++ } else { ++ h = (m->wh - oty) / ((1 + n - i) / 2); ++ resize(c, m->wx + mx + mw + m->gappx/2, m->wy + oty, tw - (2*c->bw) - m->gappx*3/2, h - 2*c->bw - m->gappx, 0); ++ oty += HEIGHT(c) + m->gappx; ++ } ++ } ++} ++ ++void ++centeredfloatingmaster(Monitor *m) ++{ ++ unsigned int i, n, w, mh, mw, mx, mxo, my, myo, tx; ++ Client *c; ++ ++ /* count number of clients in the selected monitor */ ++ for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); ++ if (n == 0) ++ return; ++ if(n == 1){ ++ c = nexttiled(m->clients); ++ resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); ++ return; ++ } ++ ++ /* initialize nmaster area */ ++ if (n > m->nmaster) { ++ /* go mfact box in the center if more than nmaster clients */ ++ if (m->ww > m->wh) { ++ mw = m->nmaster ? m->ww * m->mfact : 0; ++ mh = m->nmaster ? m->wh * 0.9 : 0; ++ } else { ++ mh = m->nmaster ? m->wh * m->mfact : 0; ++ mw = m->nmaster ? m->ww * 0.9 : 0; ++ } ++ mx = mxo = (m->ww - mw + m->gappx) / 2; ++ my = myo = (m->wh - mh) / 2; ++ } else { ++ /* go fullscreen if all clients are in the master area */ ++ mh = m->wh; ++ mw = m->ww; ++ mx = m->gappx; ++ mxo = 0; ++ my = myo = 0; ++ } ++ ++ tx = m->gappx; ++ for(i = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) ++ if (i < m->nmaster) { ++ /* nmaster clients are stacked horizontally, in the center ++ * of the screen */ ++ w = (mw + mxo - mx) / (MIN(n, m->nmaster) - i) + m->gappx; ++ resize(c, m->wx + mx, m->wy + my + m->gappx, w - 2*(c->bw + m->gappx), ++ mh - 2*(c->bw + m->gappx), 0); ++ mx += WIDTH(c) + m->gappx; ++ } else { ++ /* stack clients are stacked horizontally */ ++ w = (m->ww - tx) / (n - i) + m->gappx; ++ resize(c, m->wx + tx, m->wy + m->gappx, w - 2*(c->bw + m->gappx), ++ m->wh - 2*(c->bw + m->gappx), 0); ++ tx += WIDTH(c) + m->gappx; ++ } ++} + diff --git a/.suckless/st/st b/.suckless/st/st index 273f7221f05838af9c8add05769975c37f99abea..e21abc493051254c99b31eee8d76758a8d5306bf 100755 GIT binary patch delta 110 zcmew`kL|!bwh0=H2R3T1W)j&F8FVT2$ufn{+zLsRJEm-$TW^1<`32MV7fg(Gev*zw z$r%bhnR%rZ3YL1tdIq|Nnh?fhM<&_rX95|I*h~)L5SYH8k5PlMVfx8FMtjDL>74yQ LYQuETenxcwiySCT delta 152 zcmX>wkL|-ewh0=HA2w>PW)fjq`D5+hMSE2D7F2J#`I1g#d$!2 OkpTqeOrI#jC=USnh96)6 delta 134 zcmaE`o8`l9mI)e+1sgT3Bjk+q47H66j0_A6jSX~-G!-oMfFcSok`1Q<~A8(RjL}45K+ybHwC8AF=5ZWEeFVJErfHVYFwInEn$)1x&Y; Y1yU=fR{|-{3lfYBATVcoqYR@w0ERs!%>V!Z diff --git a/.suckless/st/x.o b/.suckless/st/x.o index 780f0d8ba8f5e75c58f26d0d60a967520c3b0c58..90602346071dfcb4734cc6aeb6adef89642a6e22 100644 GIT binary patch delta 124 zcmdmSkY&X|mI)e+85=c|3;2xn40H`O6)g3D38WF}+a+NJmU(lm%0bAnL?+Mma`yMn>bw7xToYE66h{Fs`2ND9>omxM6xDh