nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.56k stars 124 forks source link

`workspace prev` cannot work when jump between `--empty no` #718

Closed ysl2 closed 4 days ago

ysl2 commented 5 days ago

I have these bindings:

[mode.main.binding]
alt-n = "exec-and-forget aerospace list-workspaces --monitor focused --empty no | aerospace workspace next"
alt-p = "exec-and-forget aerospace list-workspaces --monitor focused --empty no | aerospace workspace prev"

steps to reproduce:

  1. open two windows, one on workspae 1, and the other on workspace 9.
  2. focus workspace 5
  3. press alt-p, expect: focus workspace 1. in fact, nothing happen.
  4. press alt-n, focus workspace 9 as expected.
nikitabobko commented 4 days ago

Can't reproduce in the custom build 0ab5fdea88b0ecde5ce5671a69ae76aea84bd540 (but I doubt that there is a difference between latest main and 0.15.2-Beta in the context of your issue)

Note: I'm too lazy to put the lines into my config, so I just run the command in the terminal