How to bind a key to start an app in a specific workspace
We autostart applications in the workspaces we want like this:
exec --no-startup-id i3-msg 'workspace xxx; exec /usr/bin/x'
We'd start an application via a key-bind:
bindsym a+b exec /usr/bin/x
What I want is to specify the workspace which the new window will appear in the last key-binding scheme.
I tried
bindsym a+b exec --no-startup-id i3-msg 'workspace xxx; exec /usr/bin/x'
bindsym a+b exec i3-msg --no-startup-id 'workspace xxx; exec /usr/bin/x'
bindsym a+b exec i3-msg 'workspace xxx; exec /usr/bin/x'
Sarcastically enough,
i3-msg --no-startup-id 'workspace xxx; exec /usr/bin/x'
This executed in a bash without hassle. Any tricks I am missing?