[wiki] [sites] fixed moveresize config.def.h keybindings as per Jan's specification || jd
commit c693a506af23f9e9ccd326c2d629f6df3727bc72
Author: jd <jdfriedrikson_AT_gmail.com>
Date: Sat Jan 17 19:55:23 2015 -0800
fixed moveresize config.def.h keybindings as per Jan's specification
diff --git a/dwm.suckless.org/patches/moveresize.md b/dwm.suckless.org/patches/moveresize.md
index 8f99777..45e67d5 100644
--- a/dwm.suckless.org/patches/moveresize.md
+++ b/dwm.suckless.org/patches/moveresize.md
_AT_@ -34,14 +34,14 @@ Usage
arrow keys to move (mod+arrow) or resize (mod+shift+arrow) the selected
client:
- { MODKEY, XK_Down, moveresize, {.v = (int []){ 0, 25, 0, 0 }}},
- { MODKEY, XK_Up, moveresize, {.v = (int []){ 0, -25, 0, 0 }}},
- { MODKEY, XK_Right, moveresize, {.v = (int []){ 25, 0, 0, 0 }}},
- { MODKEY, XK_Left, moveresize, {.v = (int []){ -25, 0, 0, 0 }}},
- { MODKEY|ShiftMask, XK_Down, moveresize, {.v = (int []){ 0, 0, 0, 25 }}},
- { MODKEY|ShiftMask, XK_Up, moveresize, {.v = (int []){ 0, 0, 0, -25 }}},
- { MODKEY|ShiftMask, XK_Right, moveresize, {.v = (int []){ 0, 0, 25, 0 }}},
- { MODKEY|ShiftMask, XK_Left, moveresize, {.v = (int []){ 0, 0, -25, 0 }}},
+ { MODKEY, XK_Down, moveresize, {.v = "0x 25y 0w 0h"}},
+ { MODKEY, XK_Up, moveresize, {.v = "0x -25y 0w 0h"}},
+ { MODKEY, XK_Right, moveresize, {.v = "25x 0y 0w 0h"}},
+ { MODKEY, XK_Left, moveresize, {.v = "-25x 0y 0w 0h"}},
+ { MODKEY|ShiftMask, XK_Down, moveresize, {.v = "0x 0y 0w 25h"}},
+ { MODKEY|ShiftMask, XK_Up, moveresize, {.v = "0x 0y 0w -25h"}},
+ { MODKEY|ShiftMask, XK_Right, moveresize, {.v = "0x 0y 25w 0h"}},
+ { MODKEY|ShiftMask, XK_Left, moveresize, {.v = "0x 0y -25w 0h"}},
If you want to automatically toggle the client floating when move/resize,
replace the `if()` statement above with this code:
Received on Sun Jan 18 2015 - 04:55:33 CET
This archive was generated by hypermail 2.3.0
: Thu Jun 18 2015 - 17:40:03 CEST