diff options
| author | tslil clingman <tslil@posteo.de> | 2023-02-10 11:34:44 +0100 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.de> | 2023-02-10 11:34:44 +0100 |
| commit | 2915c2984e81251256a9dbe6eb64c8ff950279d0 (patch) | |
| tree | 5593cb863a8c112ae7147132326f3df21423a16f /dwm-6.2/config.def.h | |
| parent | 67b505107e8c8075b409bdc7a7a8a0158caf4aa6 (diff) | |
[dwm] rstack hack, bstack{,horiz}, default per monitor
Diffstat (limited to 'dwm-6.2/config.def.h')
| -rw-r--r-- | dwm-6.2/config.def.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dwm-6.2/config.def.h b/dwm-6.2/config.def.h index 47f0981..f736342 100644 --- a/dwm-6.2/config.def.h +++ b/dwm-6.2/config.def.h @@ -41,11 +41,18 @@ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static const int lpm[] = { + /* Index of preferred layout], if LENGTH(lpm)<#monitors -> default layout */ + 0, 1 +}; + static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ { "><>", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, + { "TTT", bstack }, + { "===", bstackhoriz }, }; /* key definitions */ @@ -81,6 +88,8 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, + { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, |
