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

Open new windows on new workspaces?

asked Dec 23 '14

Scrabz gravatar image

Maybe I'm just inept to search properly, but I can't find an answer for the life of me.

Is there a possibility to spawn a new desktop for each opened window except floats?

Note that I do not want to add a line to the config file for each program I could possibly want to start potentially, just a new desktop for each. Else I just could use section 4.12. from the users guide.

This seems just such an generic solution in the battle for screen real estate that I think I've overlooked something. In that I case will be thankfull for a pointer to the correct answer.

Thanks in advance!

Comments

1

Nice question, but out of curiosity, why not use tabs?

Rojo gravatar imageRojo (Dec 24 '14)edit

Because I feel they are redundant. They provide no extra information I need, and eat up a part of my screen space. With the solution I'm looking for, I can still choose to use them, but I've usually opened 2-6 windows, an I can remember easily which desktop holds each program.

Scrabz gravatar imageScrabz (Dec 24 '14)edit

1 answer

Sort by » oldest newest most voted
1

answered Dec 26 '14

Michael gravatar image

If you always spawn applications in i3, you can just chain the command you use, e.g. bindsym $mod+x workspace 10; exec dmenu. Note that you need to replace the workspace command with a script that opens a new workspace. Such a command is not in i3 because the behavior is very specific to the user’s needs — which output should the workspace be created on, what should be its name…?

In case you don’t, the IPC interface may still be good enough: you could look for new window events and then move these windows to a new workspace. See http://i3wm.org/docs/ipc.html for more information.

Question Tools

Stats

Asked: Dec 23 '14

Seen: 531 times

Last updated: Dec 26 '14