aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-22 11:20:08 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-22 11:20:23 -0500
commitdef35721172f205c6934fa5a683f63f68342ddec (patch)
treeaf44a140430f622a994e2dddfe2653f378a289c8 /config.h
parentfdbe9ee29a62eb19938b6a8a39cb7b208b84ec16 (diff)
add setlayout function
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 28bcf26..c6953e6 100644
--- a/config.h
+++ b/config.h
@@ -36,6 +36,8 @@ static const Key keys[] = {
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd } },
{ MODKEY, XKB_KEY_Escape, quit, {0} },
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, setlayout, {.v = &layouts[0]} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_F, setlayout, {.v = &layouts[1]} },
};
static const Button buttons[] = {