Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If --edge has no effect, the opposite edge should be moved #77

Closed
fenduru opened this issue Oct 20, 2013 · 4 comments
Closed

If --edge has no effect, the opposite edge should be moved #77

fenduru opened this issue Oct 20, 2013 · 4 comments

Comments

@fenduru
Copy link

fenduru commented Oct 20, 2013

There is a lot of flexibility by being able push or pull any of the edges, however some convenience is lost when working with a small number of windows.

-----------------
|   A   |   B   |
|       |       |
-----------------

If you try to Push B's right edge, it will have no effect. If, when this happened, B's left edge was pulled, users would be able to primarily use 4 resizing hotkeys instead of 8. This behavior would be similar to tmux.

@shmibs
Copy link

shmibs commented Oct 20, 2013

i was just wondering about this; it may be a bit inconsistent, but it does feel more natural in practice.

@Stebalien
Copy link
Contributor

bspc will return false if a push fails. You can achieve this functionality with the following:

bspc window --edge right push || bspc window --edge left push

@fenduru
Copy link
Author

fenduru commented Oct 20, 2013

That is wonderful, I'll have to try that out! Is this feature documented?

@Stebalien
Copy link
Contributor

Not that I know. In general, if a command does nothing, it returns 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants