Setting layouts upon i3 launch
Arch Linux, i3 4.2-2.
The last line of my i3 config file is
exec_always i3-init
Where i3-init is the following shell script:
#!/bin/bash
tabbed=( 1 4 6 7 )
for w in $tabbed; do
i3-msg "workspace $w; layout tabbed"
done
i3-msg "workspace 1"
So on workspaces 1, 4, 6, and 7, set the tabbed layout. The problem is that the layout isn't actually set when this script is run unless there are windows on the workspace, so I either have to set the layout manually or restart i3 after the windows exist. Am I doing this wrong or is this a limitation?