The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Create Next Workspace and Switch to It

asked Oct 7 '14

severin gravatar image

workspace next cycles through workspaces. If I use it from the last workspace, i3 switches to the first workspace. How can I switch to a newly created workspace instead?

1 answer

Sort by » oldest newest most voted
1

answered Oct 7 '14

lasers gravatar image

This script with -e | --empty flag will allow you to jump to the first empty numbered workspace. It might be something you're interested in. https://github.com/OliverUv/quickswit...

Comments

Thanks! I simply created a new keyboard shortcut for this command instead of worrying about how to make a single shortcut's action conditional on the workspace.

severin gravatar imageseverin (Oct 7 '14)edit

Question Tools

Stats

Asked: Oct 7 '14

Seen: 408 times

Last updated: Oct 07 '14