MOVE RESIZE AND MAXIMIZE VERTICAL/HORIZONTAL PATCH

Description

These patches provide helper functions for moving and resizing floating windows using keybindings.

Configuration

This is a sample 'hjkl'-style configuration:

{ MODKEY,                       XK_h,           moveresize,          "-25x 0y 0w 0h" }, \
{ MODKEY,                       XK_l,           moveresize,          "25x 0y 0w 0h" }, \
{ MODKEY,                       XK_j,           moveresize,          "0x 25y 0w 0h" }, \
{ MODKEY,                       XK_k,           moveresize,          "0x -25y 0w 0h" }, \
{ MODKEY|ControlMask,           XK_h,           moveresize,          "0X 0y 0w 0h" }, \
{ MODKEY|ControlMask,           XK_l,           moveresize,          "9000X 0y 0w 0h" }, \
{ MODKEY|ControlMask,           XK_j,           moveresize,          "0x 9000Y 0w 0h" }, \
{ MODKEY|ControlMask,           XK_k,           moveresize,          "0x 15Y 0w 0h" }, \
{ MODKEY|ShiftMask,             XK_h,           moveresize,          "0x 0y -25w 0h" }, \
{ MODKEY|ShiftMask,             XK_l,           moveresize,          "0x 0y 25w 0h" }, \
{ MODKEY|ShiftMask,             XK_j,           moveresize,          "0x 0y 0w 25h" }, \
{ MODKEY|ShiftMask,             XK_k,           moveresize,          "0x 0y 0w -25h" }, \
{ MODKEY|ControlMask|ShiftMask, XK_h,           togglehorizontalmax, NULL }, \
{ MODKEY|ControlMask|ShiftMask, XK_l,           togglehorizontalmax, NULL }, \
{ MODKEY|ControlMask|ShiftMask, XK_j,           toggleverticalmax,   NULL }, \
{ MODKEY|ControlMask|ShiftMask, XK_k,           toggleverticalmax,   NULL }, \

Download

5.0

4.6

4.5

4.4

Author