diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-20 16:36:58 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-20 16:36:58 +0100 |
commit | 17f5dfa8143adc702d4be59f40da344986cbdecd (patch) | |
tree | 2b6467d2e8ace8bc45615c1b6cb3e8304d54ec28 /config.h | |
parent | 84d550ca9b1dd51a0cee4e0f53d3f8c02f2f5636 (diff) | |
download | dwm-17f5dfa8143adc702d4be59f40da344986cbdecd.tar.gz dwm-17f5dfa8143adc702d4be59f40da344986cbdecd.tar.bz2 dwm-17f5dfa8143adc702d4be59f40da344986cbdecd.zip |
Added patch to move floating windows via the keyboard
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |