summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-02-27 21:56:54 +0100
committerJoe <rbo@gmx.us>2025-02-27 21:56:54 +0100
commit48e0e4b3599f6770c00a667814c71c8a1ec84185 (patch)
tree4686f74d950f3d13952b07d3366425e48d205986 /config.def.h
parentup (diff)
downloaddwl-48e0e4b3599f6770c00a667814c71c8a1ec84185.tar.gz
dwl-48e0e4b3599f6770c00a667814c71c8a1ec84185.tar.bz2
dwl-48e0e4b3599f6770c00a667814c71c8a1ec84185.tar.xz
dwl-48e0e4b3599f6770c00a667814c71c8a1ec84185.tar.zst
dwl-48e0e4b3599f6770c00a667814c71c8a1ec84185.zip
movestacked
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 8d1ee06..eec3800 100644
--- a/config.def.h
+++ b/config.def.h
@@ -128,6 +128,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
/* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */
#define MODKEY WLR_MODIFIER_LOGO
+#define METAKEY WLR_MODIFIER_ALT
#define TAGKEYS(KEY,SKEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
@@ -152,12 +153,14 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_b, togglebar, {0} },
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_J, movestack, {.i = +1} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_K, movestack, {.i = -1} },
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
{ MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
{ MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_h, setmfact, {.f = -0.05f} },
{ MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_l, setmfact, {.f = +0.05f} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, zoom, {0} },
- { MODKEY, XKB_KEY_Tab, view, {0} },
+ { METAKEY, XKB_KEY_Escape, view, {0} },
{ MODKEY, XKB_KEY_q, killclient, {0} },
{ MODKEY, XKB_KEY_s, setlayout, {.v = &layouts[0]} },
{ MODKEY, XKB_KEY_n, setlayout, {.v = &layouts[1]} },