summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-23 19:23:57 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-23 19:48:00 -0500
commitc03081d85db928383adaaeb7e6b02d2352ff4186 (patch)
tree3b39f6ca079f84ab4f8928fa11fc0789d64e05c9 /config.def.h
parente447cd0215c0418e848251ba20483b844be659c7 (diff)
implement floating windows
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 6eb617b..e8ce95f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -38,10 +38,12 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, quit, {0} },
};
static const Button buttons[] = {
- { MODKEY, BTN_LEFT, movemouse, {0} },
- { MODKEY, BTN_RIGHT, resizemouse, {0} },
+ { MODKEY, BTN_LEFT, movemouse, {0} },
+ { MODKEY, BTN_MIDDLE, togglefloating, {0} },
+ { MODKEY, BTN_RIGHT, resizemouse, {0} },
};