-
-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Labels
featureFeature proposalFeature proposalgood-first-issueEasy to fix issues. Good for newcomersEasy to fix issues. Good for newcomers
Description
Motivation
I'm currently trying to do something like:
If you can move the current window to the left in the current workspace, do it! Otherwise, move the window to the monitor in the left (wrapping around)
So I thought that the following simple zsh script would do it for me:
aerospace move left || aerospace move-node-to-monitor --wrap-around left
Unfortunately, that doesn't work, since aerospace move left
does not fail when it can't move.
Feature request
I think it would be nice for aerospace commands to return something to indicate if they "failed" to do what they were supposed to do. It would be enough to solve my problem.
Alternative
Another way to solve it would be to make move
to work similarly to the focus command (with boundaries and boundaries actions).
javoscript, ok-nick, camdencheek, pm0u, kyeb and 14 moreAlekosDordas, torgeir, quoral, captainvera, sebastianst and 1 moresebastianstsebastianst
Metadata
Metadata
Assignees
Labels
featureFeature proposalFeature proposalgood-first-issueEasy to fix issues. Good for newcomersEasy to fix issues. Good for newcomers