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

cycling through active workspaces

asked 2014-11-20 13:38:36 +0000

updated 2014-11-20 23:05:16 +0000

Is there a way to cycle through active workspaces? For example, if I have the following workspaces active:

 [1]  [2]  [4]  [6]

I'd like to have a key bound to a command that would display workspaces 1, 2, 4, and 6 in sequence; then cycle back to workspace 1.

I'm familiar with the workspace back_and_forth command and use it frequently.

Update:

I used @cee's recommendation, but bound the keys in the following manner so there is no conflict with the default cursor key assignments:

# Cycle through active workspaces
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-11-20 21:57:40 +0000

cee gravatar image

You can use

bindsym Mod4+Right workspace next
bindsym Mod4+Left workspace prev

to cycle through your open workspaces with Windowskey and arrow left|right.

edit flag offensive delete link more

Comments

@cee: Works, thanks. I checked the User's Guide and didn't see a description for this command. Should I file a documentation ticket?

Jeff Bauer gravatar imageJeff Bauer ( 2014-11-20 22:37:29 +0000 )edit

@Jeff Bauer: Thank you, but no, that is not necessary: It is already there, in section [6.5 Changing (named) workspaces/moving to workspaces](http://i3wm.org/docs/userguide.html#_changing_named_workspaces_moving_to_workspaces).

Adaephon gravatar imageAdaephon ( 2014-11-21 07:24:16 +0000 )edit

Question Tools

Stats

Asked: 2014-11-20 13:38:36 +0000

Seen: 266 times

Last updated: Nov 20 '14