From 66054700cb58d97f3f333317db18b24e0f39ef2c Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Thu, 23 Apr 2020 20:02:17 -0500 Subject: add toggletag and toggleview --- config.def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index f4720a8..71d67e9 100644 --- a/config.def.h +++ b/config.def.h @@ -32,7 +32,9 @@ static const struct xkb_rule_names xkb_rules = { #define MODKEY WLR_MODIFIER_ALT #define TAGKEYS(KEY,SKEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ - { MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} } + { MODKEY|WLR_MODIFIER_CTRL, KEY, toggleview, {.ui = 1 << TAG} }, \ + { MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} }, \ + { MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} } /* commands */ static const char *termcmd[] = { "kitty", "-o", "linux_display_server=wayland", NULL }; -- cgit v1.2.3