summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--config.h32
2 files changed, 17 insertions, 17 deletions
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).
diff --git a/config.h b/config.h
index adf2552..ab4026c 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) */
@@ -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 } }, \ */
@@ -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") },