exit with status=1 if no sibling found
this allows to chain, e.g.:
move-to-window -d SOUTH || move-to-window -d EAST
by default (without a --direction parameter), does the equivalent of:
move-to-window -d EAST || move-to-window -d SOUTH
My use case is that I have 2 screens, sometimes left-right, sometimes up-down (depending on which desk I'm working on). So I needed a command to just switch between the 2 screens, whatever their arrangement. Each of these two changes allow doing that.
Hey !
This PR comes with 2 simple changes :
--direction
parameter), does the equivalent of:My use case is that I have 2 screens, sometimes left-right, sometimes up-down (depending on which desk I'm working on). So I needed a command to just switch between the 2 screens, whatever their arrangement. Each of these two changes allow doing that.
And thanks for this nice tool. Very helpful !