i3 doesn't execute command on first login [closed]
In my .i3/config, I have
exec --no-startup-id i3-msg 'workspace 2; exec urxvtc -e mutt -n; workspace 1'
to open mutt on workspace 2 and switch back to workspace 1. When I startx after logging in, mutt doesn't run. However, if I quit i3 and startx again, mutt opens in workspace 2. If I split the commands into different lines:
exec i3-msg 'workspace 2'
exec --no-startup-id i3-msg 'exec urxvtc -e mutt -n'
exec i3-msg 'workspace 1'
it will switch to workspace 2, but won't run the following commands. Again, it works just fine if I exit i3 and startx again. This is on Slackware 14.1 x86, with the SBo version of i3.