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

How to launch layout with applications?

asked 2014-11-27 13:02:21 +0000

cutuchiqueno gravatar image

As far as I understand it is not possible to open an i3 layout together with the programs that should run in it, is it?

What would be a workaround to achieve this? A shell script which first opens the layout which containers reserved for specific application and than the applications that are grapped by the placeholders in the layout? Or is there a better, more straight forward approach?

(I know that there is tmux and screen, but I don't see the point using it when having a designable tiling manager, plus it's another layer that sometimes causes problems between terminal and applications like vim for example, so it seems sufficient for me to stick to i3)

edit retag flag offensive close merge delete

Comments

Isn't what you're describing exactly a combination of i3 4.8's feature of restoring layouts and then auto-starting applications?

airblader gravatar imageairblader ( 2014-11-27 17:16:00 +0000 )edit

yes it is, but it does not really feel straight forward, so the question was looking for a more elegant version, maybe one that would have layout and program execution in one file/step

cutuchiqueno gravatar imagecutuchiqueno ( 2014-11-28 09:38:05 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-12-02 14:30:12 +0000

ANOKNUSA gravatar image

As far as I understand it is not possible to open an i3 layout together with the programs that should run in it, is it?

It is possible. The documentation contains a short example. You need to write a script that opens a layout and launches your applications simultaneously. That's really the only way to do it, and I can't imagine anything more straight-forward.

edit flag offensive delete link more

Comments

ok, than it's exactly what I did, than you.

cutuchiqueno gravatar imagecutuchiqueno ( 2014-12-02 15:03:02 +0000 )edit

Question Tools

Stats

Asked: 2014-11-27 13:02:21 +0000

Seen: 207 times

Last updated: Dec 02 '14