aerospace workspace [-h|--help] [--auto-back-and-forth] [--fail-if-noop] <workspace-name> aerospace workspace [-h|--help] [--wrap-around] (next|prev)
1. <workspace-name> syntax
Focus the specified workspace
2. (next|prev) syntax
Focuses next or previous workspace in the list.
-
If stdin is not TTY and stdin contains non whitespace characters then the list is taken from stdin
-
Otherwise, the list is defined as all workspaces on focused monitor in alphabetical order
- -h, --help
-
Print help
- --wrap-around
-
Make it possible to jump between first and last workspaces using
(next|prev) - --auto-back-and-forth
-
Automatic
back-and-forthwhen switching to already focused workspace. Incompatible with--fail-if-noop - --fail-if-noop
-
Exit with non-zero exit code if switch to the already focused workspace Incompatible with
--auto-back-and-forth
-
Go to the next non empty workspace on the focused monitor:
aerospace list-workspaces --monitor focused --empty no | aerospace workspace next