From 54d5c10d91f4bc9cf28ccbb65f27b792f8352549 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Fri, 15 May 2020 21:21:54 -0500 Subject: [PATCH 1/4] formatting --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index adf2552..776d4da 100644 --- a/config.h +++ b/config.h @@ -87,7 +87,7 @@ static const Layout layouts[] = { #define STACKKEYS(MOD,ACTION) \ { MOD, XK_j, ACTION##stack, {.i = INC(+1) } }, \ { MOD, XK_k, ACTION##stack, {.i = INC(-1) } }, \ - { MOD, XK_v, ACTION##stack, {.i = 0 } }, \ + { MOD, XK_v, ACTION##stack, {.i = 0 } }, \ /* { MOD, XK_grave, ACTION##stack, {.i = PREVSEL } }, \ */ /* { MOD, XK_a, ACTION##stack, {.i = 1 } }, \ */ /* { MOD, XK_z, ACTION##stack, {.i = 2 } }, \ */ From 2ba1fed2b24cf8f68eb83c8ab2b17e3ae8f27a25 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Fri, 15 May 2020 22:07:11 -0500 Subject: [PATCH 2/4] Update config.h --- config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index 776d4da..8b0242d 100644 --- a/config.h +++ b/config.h @@ -44,13 +44,13 @@ static const Rule rules[] = { /* xprop(1): * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title - */ - /* class instance title tags mask isfloating isterminal noswallow monitor */ - { "Gimp", NULL, NULL, 1 << 8, 0, 0, 0, -1 }, - { "St", NULL, NULL, 0, 0, 1, 0, -1 }, - { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, - { NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 }, - { NULL, "spcalc", NULL, SPTAG(1), 1, 1, 0, -1 }, + */ + /* class instance title tags mask isfloating isterminal noswallow monitor */ + { "Gimp", NULL, NULL, 1 << 8, 0, 0, 0, -1 }, + { "St", NULL, NULL, 0, 0, 1, 0, -1 }, + { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, + { NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 }, + { NULL, "spcalc", NULL, SPTAG(1), 1, 1, 0, -1 }, }; /* layout(s) */ From 0d3e15f04018039777ac1ffe5ed1ea9470a9f5fe Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Fri, 15 May 2020 22:26:40 -0500 Subject: [PATCH 3/4] Update config.h --- config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.h b/config.h index 8b0242d..ab4026c 100644 --- a/config.h +++ b/config.h @@ -138,14 +138,14 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_e, spawn, SHCMD("st -e abook -C ~/.config/abook/abookrc --datafile ~/.config/abook/addressbook") }, { MODKEY, XK_r, spawn, SHCMD("st -e lf") }, { MODKEY|ShiftMask, XK_r, spawn, SHCMD("st -e htop") }, - { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[1]} }, - { MODKEY, XK_y, setlayout, {.v = &layouts[2]} }, - { MODKEY|ShiftMask, XK_y, setlayout, {.v = &layouts[3]} }, - { MODKEY, XK_u, setlayout, {.v = &layouts[4]} }, - { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[5]} }, - { MODKEY, XK_i, setlayout, {.v = &layouts[6]} }, - { MODKEY|ShiftMask, XK_i, setlayout, {.v = &layouts[7]} }, + { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, /* tile */ + { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[1]} }, /* bstack */ + { MODKEY, XK_y, setlayout, {.v = &layouts[2]} }, /* spiral */ + { MODKEY|ShiftMask, XK_y, setlayout, {.v = &layouts[3]} }, /* dwindle */ + { MODKEY, XK_u, setlayout, {.v = &layouts[4]} }, /* deck */ + { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[5]} }, /* monocle */ + { MODKEY, XK_i, setlayout, {.v = &layouts[6]} }, /* centeredmaster */ + { MODKEY|ShiftMask, XK_i, setlayout, {.v = &layouts[7]} }, /* centeredfloatingmaster */ { MODKEY, XK_o, incnmaster, {.i = +1 } }, { MODKEY|ShiftMask, XK_o, incnmaster, {.i = -1 } }, { MODKEY, XK_p, spawn, SHCMD("mpc toggle") }, From 446860de3b71c7b3b09151b5a8e8e362723e49ca Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Fri, 15 May 2020 23:50:50 -0500 Subject: [PATCH 4/4] add relative link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0767df2..246607f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > What are the bindings? -This is suckless, mmmbud, the source code is the documentation! Check out `config.h`. +This is suckless, mmmbud, the source code is the documentation! Check out [config.h](config.h). Okay, okay, actually I keep a readme in `larbs.mom` for my whole system, including the binds here. Press `super+F1` to view it in dwm (zathura is required for that binding).