aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-20 16:36:58 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-20 16:36:58 +0100
commit17f5dfa8143adc702d4be59f40da344986cbdecd (patch)
tree2b6467d2e8ace8bc45615c1b6cb3e8304d54ec28 /config.h
parent84d550ca9b1dd51a0cee4e0f53d3f8c02f2f5636 (diff)
downloaddwm-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.h4
1 files changed, 4 insertions, 0 deletions
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