The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
1

Automatically map named workspaces to numbers

asked 2015-08-28 11:11:08 +0000

languitar gravatar image

I am using named workspaces most of the time. Is there any way to automatically number them in a consecutive fashion so that I can use meta+<number> to switch to individual ones.

What I want to prevent is having to set the number manually. So I suspect some kind of script would be necessary which automatically creates the implicit numbering.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-28 12:38:08 +0000

languitar gravatar image

Ok, I achieved this by implementing a custom workspace switcher in python. It is available here: https://github.com/languitar/i3-works...

edit flag offensive delete link more
0

answered 2015-09-11 12:06:42 +0000

SpicyCat gravatar image

I think you need named workspace with number prefix . Check 6.5.1. Named workspaces If you dislike number prefix, you can strip them

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-28 11:11:08 +0000

Seen: 159 times

Last updated: Sep 11