You are not logged in.
I want to open 3 terminal (programs) with one keybinding and get this layout on a specific workspace.
|----------|----------|
| | |
| |----------|
| | |
|----------|----------|I tried a bunch of bindings and the programs open on the workspace I want but not with the layout I want.
I get a full vertical or horizontal layout.
bindsym Ctrl+$alt+p workspace $wsp0; exec $terminal -e ytop; exec $mail; layout splitv; exec $calendar
bindsym Ctrl+$alt+p workspace $wsp0; exec $terminal -e ytop; layout splith; exec $mail; layout splitv; exec $calendar
bindsym Ctrl+$alt+p workspace $wsp0; layout splith; exec $terminal -e ytop; layout splitv; exec $mail; exec $calendar
bindsym Ctrl+$alt+p workspace $wsp0; exec $terminal -e ytop; layout splitv; exec $mail; exec $calendarOffline
If you put a bunch of bindings for the same key in the config, you might not get the behavior that you expect, i.e. the commands are not executed sequentially.
However, you can create a script which calls i3-msg several times to create the layout you desire. See the documentation for more info on i3-msg: https://i3wm.org/docs/userguide.html#list_of_commands
Offline
Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse
Offline