dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1c7d57451b42850ff1e81bfdaac5cf52f3ae0d50
parent ed5803de189bf32c3a9b171104e22946b147a661
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 16 May 2020 06:57:35 -0400

Merge pull request #68 from vladdoster/patch-1

formatting
Diffstat:
MREADME.md | 2+-
Mconfig.h | 32++++++++++++++++----------------
2 files changed, 17 insertions(+), 17 deletions(-)

diff --git 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 @@ -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") },