aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-06 00:32:24 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-06 00:32:24 +0000
commitdde321282059f2d8bb79667267207edd012f6d8a (patch)
tree98e4703a7403d1f094ea86e9a9a5f0f9ec327d26 /config.h
parent13190da417cd3a7d20c5da8d36664990c56adebd (diff)
downloaddwm-dde321282059f2d8bb79667267207edd012f6d8a.tar.gz
dwm-dde321282059f2d8bb79667267207edd012f6d8a.tar.bz2
dwm-dde321282059f2d8bb79667267207edd012f6d8a.zip
Added "deck" layout patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/config.h b/config.h
index c4a3c05..34e597e 100644
--- a/config.h
+++ b/config.h
@@ -70,13 +70,14 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi
static const Layout layouts[] = {
/* symbol arrange function */
- { "[T]=", tile }, /* first entry is default */
- { "<F>=", NULL }, /* no layout function means floating behavior */
+ { "[T]=", tile }, /* first entry is default */
+ { "<F>=", NULL }, /* no layout function means floating behavior */
{ "{M}", monocle },
{ "|M|", centeredmaster },
{ ">M>", centeredfloatingmaster },
{ "[@]", spiral },
- { "[\\]", dwindle },
+ { "[\\]", dwindle },
+ { "[D]", deck },
};
/* key definitions */
@@ -118,10 +119,11 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[0]} }, //tiling
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[1]} }, //floating
{ MODKEY|ShiftMask, XK_m, setlayout, {.v = &layouts[2]} }, //monocle
- { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[3]} }, //cmonocle
- { MODKEY|ShiftMask, XK_o, setlayout, {.v = &layouts[4]} }, //cfmonocle
- { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[5]} }, //fib-spiral
- { MODKEY|ShiftMask, XK_d, setlayout, {.v = &layouts[6]} }, //fib-spiral
+ { MODKEY|ShiftMask, XK_n, setlayout, {.v = &layouts[3]} }, //cmonocle
+ { MODKEY|ShiftMask, XK_b, setlayout, {.v = &layouts[4]} }, //cfmonocle
+ { MODKEY|ShiftMask, XK_y, setlayout, {.v = &layouts[5]} }, //fib-spiral
+ { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[6]} }, //fib-spiral
+ { MODKEY|ShiftMask, XK_i, setlayout, {.v = &layouts[7]} }, //deck
{ MODKEY|ShiftMask, XK_space, setlayout, {0} },
{ MODKEY, XK_space, togglefloating, {0} },
{ MODKEY, XK_m, focusmon, {.i = -1 } },