From 17f5dfa8143adc702d4be59f40da344986cbdecd Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 20 Oct 2024 16:36:58 +0100 Subject: Added patch to move floating windows via the keyboard --- config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 54ba029..2f02852 100644 --- a/config.h +++ b/config.h @@ -118,6 +118,10 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_j, inplacerotate, {.i = -1} }, { MODKEY|ShiftMask, XK_h, inplacerotate, {.i = -2} }, { MODKEY|ShiftMask, XK_l, inplacerotate, {.i = +2} }, + { MODKEY|ControlMask, XK_l, movekeyboard_x, {.i = 20}}, + { MODKEY|ControlMask, XK_h, movekeyboard_x, {.i = -20}}, + { MODKEY|ControlMask, XK_j, movekeyboard_y, {.i = 20}}, + { MODKEY|ControlMask, XK_k, movekeyboard_y, {.i = -20}}, { MODKEY|ControlMask, XK_s, togglesticky, {0} }, { MODKEY, XK_c, zoom, {0} }, { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[0]} }, //tiling -- cgit v1.2.3-13-gbd6f