summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-05-14 00:01:39 +0200
committerfilip <“filip.rabiega@gmail.com”>2025-05-14 00:01:39 +0200
commit0961ac37a8cf074a15ffd066f862313267a9e6a8 (patch)
tree9ff2725e78b70e64d1835518f382315243535064 /config.def.h
parentcfb8627a80a334f200f68c2c8f3e384313ebbaf5 (diff)
downloadchaddwm-0961ac37a8cf074a15ffd066f862313267a9e6a8.tar.gz
chaddwm-0961ac37a8cf074a15ffd066f862313267a9e6a8.tar.bz2
chaddwm-0961ac37a8cf074a15ffd066f862313267a9e6a8.zip
imported fibonacci
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9efa774..c76c8ab 100644
--- a/config.def.h
+++ b/config.def.h
@@ -37,11 +37,14 @@ 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 lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
+#include "fibonacci.c"
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
+ { "[@]", spiral },
+ { "[\\]", dwindle },
};
/* key definitions */
@@ -77,6 +80,8 @@ static const 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_r, setlayout, {.v = &layouts[3]} },
+ { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },