aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-11 15:59:26 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-11 15:59:26 +0100
commit8b95b2403d16baa181c68233922be1088dac9e6d (patch)
tree239214ab09344b0463a07be270e01fb7e463a27f
parentAdded patches nmaster and tagothermon (diff)
downloaddwm-8b95b2403d16baa181c68233922be1088dac9e6d.tar.gz
dwm-8b95b2403d16baa181c68233922be1088dac9e6d.tar.bz2
dwm-8b95b2403d16baa181c68233922be1088dac9e6d.tar.xz
dwm-8b95b2403d16baa181c68233922be1088dac9e6d.tar.zst
dwm-8b95b2403d16baa181c68233922be1088dac9e6d.zip
Made ntile default layout
-rw-r--r--config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.h b/config.h
index 21afd10..96e3afc 100644
--- a/config.h
+++ b/config.h
@@ -51,11 +51,11 @@ static const int resizehints = 0; /* 1 means respect size hints in tiled resi
static const Layout layouts[] = {
/* symbol arrange function */
+ { "-|=", ntile },
+ { "-|-", nbstack },
{ "[\\]", dwindle },
{ "[@]", spiral },
{ "[]=", tile }, /* first entry is default */
- { "-|=", ntile },
- { "-|-", nbstack },
{ "[M]", monocle },
{ "><>", NULL }, /* no layout function means floating behavior */
};
@@ -118,11 +118,11 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY, XK_q, killclient, {0} },
- { MODKEY, XK_s, setlayout, {.v = &layouts[0]} }, /* dwindle */
- { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[1]} }, /* spiral */
- { MODKEY, XK_v, setlayout, {.v = &layouts[2]} }, /* tile */
- { MODKEY, XK_t, setlayout, {.v = &layouts[3]} }, /* nbtile */
- { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[4]} }, /* nbstack */
+ { MODKEY, XK_s, setlayout, {.v = &layouts[0]} }, /* nbtile */
+ { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[1]} }, /* nbstack */
+ { MODKEY, XK_t, setlayout, {.v = &layouts[2]} }, /* dwindle */
+ { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} }, /* spiral */
+ { MODKEY, XK_v, setlayout, {.v = &layouts[4]} }, /* tile */
{ MODKEY, XK_m, setlayout, {.v = &layouts[5]} }, /* monocle */
{ MODKEY, XK_n, setlayout, {.v = &layouts[6]} }, /* floating */
{ MODKEY|ShiftMask, XK_space, setlayout, {0} },