diff options
author | choc <notchoc@proton.me> | 2023-01-02 13:00:29 +0800 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-02-12 00:23:37 -0600 |
commit | ce17d0f303a11a8eaaf1a78202002b111bec9008 (patch) | |
tree | 71ea03a8d2ac556de2f944534214db31087d4c2d /config.def.h | |
parent | fd74d172c2a69cd1583e180c8fb111171e35118b (diff) | |
download | dwl-ce17d0f303a11a8eaaf1a78202002b111bec9008.tar.gz dwl-ce17d0f303a11a8eaaf1a78202002b111bec9008.tar.bz2 dwl-ce17d0f303a11a8eaaf1a78202002b111bec9008.zip |
passthrough: allow pausing keybind handling
also allows for bitcarrying-esque control of nested instances
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 4ca65a9..59066f8 100644 --- a/config.def.h +++ b/config.def.h @@ -25,6 +25,9 @@ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You ca /* logging */ static int log_level = WLR_ERROR; +/* passthrough */ +static int passthrough = 0; + /* NOTE: ALWAYS keep a rule declared even if you don't use rules (e.g leave at least one example) */ static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ @@ -174,6 +177,7 @@ static const Key keys[] = { TAGKEYS( XKB_KEY_7, XKB_KEY_ampersand, 6), TAGKEYS( XKB_KEY_8, XKB_KEY_asterisk, 7), TAGKEYS( XKB_KEY_9, XKB_KEY_parenleft, 8), + { WLR_MODIFIER_ALT|WLR_MODIFIER_LOGO|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT, XKB_KEY_Escape, togglepassthrough, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, quit, {0} }, /* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */ |