baskerville / xdo

Small X utility to perform elementary actions on windows
BSD 2-Clause "Simplified" License
300 stars 18 forks source link

add interative modes where windows can be resized/moved with single keypresses #4

Closed oatberry closed 9 years ago

oatberry commented 9 years ago

Hello, I'd love it there was an option to enter an "interactive" mode where windows could be moved or resized with single hjkl or up/down/left/right keypresses, then quitting with ^C. Just a small idea.

baskerville commented 9 years ago

That's already possible.

Here's an example, taken straight from sxhkd's manual:

super + m : {h,j,k,l}
    xdo move {-x -5,-y +5,-y -5,-x +5}

(I'm interpreting this a bspwm issue, otherwise it makes no sense.)

oatberry commented 9 years ago

Eh, close enough. Thanks for responding.