summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-16 06:57:35 -0400
committerGitHub <noreply@github.com>2020-05-16 06:57:35 -0400
commit1c7d57451b42850ff1e81bfdaac5cf52f3ae0d50 (patch)
tree66a12137426984072e06fa07e9de7c3dc100119c /config.h
parented5803de189bf32c3a9b171104e22946b147a661 (diff)
parent446860de3b71c7b3b09151b5a8e8e362723e49ca (diff)
Merge pull request #68 from vladdoster/patch-1
formatting
Diffstat (limited to 'config.h')
-rw-r--r--config.h32
1 files changed, 16 insertions, 16 deletions
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") },