t* dwm + patches URI git clone git://git.codevoid.de/dwm-sdk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit b8e83bb6635f7429d0e85a2b6c802916a43a4065 DIR parent 0434c51bdc1369cee15e3616cf9f1422305d027a URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de> Date: Fri, 8 Jun 2018 10:06:45 +0200 +Font Fira Mono, 2 clients in master area, comments. Diffstat: M config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- DIR diff --git a/config.h b/config.h t@@ -49,7 +49,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.75; /* factor of master area size [0.05..0.95] */ -static const int nmaster = 1; /* number of clients in master area */ +static const int nmaster = 2; /* number of clients in master area */ static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { t@@ -74,7 +74,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *mailcmd[] = { "st", "-e", "mutt", NULL }; -static const char *bigtermcmd[] = { "st", "-f FuraCode Nerd Font:size=18:antialias=false:autohint=false", NULL }; +static const char *bigtermcmd[] = { "st", "-f Fira Mono:size=16", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; static const char *browsercmd[] = { ".dwm/browser", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; t@@ -97,16 +97,16 @@ static Key keys[] = { { 0, 0x1008ff13,spawn, {.v = volumeupcmd } }, { 0, 0x1008ff11,spawn, {.v = volumedowncmd } }, - // ui modifier + // show/hide statusbar { MODKEY, XK_b, togglebar, {0} }, // cycle frame focus { MODKEY, XK_Down, focusstack, {.i = +1 } }, { MODKEY, XK_Up, focusstack, {.i = -1 } }, - // ??? - { MODKEY, XK_i, incnmaster, {.i = +1 } }, - { MODKEY, XK_p, incnmaster, {.i = -1 } }, + // increase frames in master area + { MODKEY|ShiftMask, XK_Left, incnmaster, {.i = +1 } }, + { MODKEY|ShiftMask, XK_Right, incnmaster, {.i = -1 } }, // change frame size { MODKEY, XK_Left, setmfact, {.f = -0.05} }, t@@ -115,7 +115,7 @@ static Key keys[] = { // bring focused frame to master area { MODKEY, XK_m, zoom, {0} }, - // ??? + // switch to last workspace { MODKEY, XK_Tab, view, {0} }, // destroy focused frame