In i3 specifically, some apps do not opened in the workspace from whom they were called. It’s a weird behaviour.
So, the solution as described here is still to use exec i3 before the command.
So, it would be useful if shellex allow to define of kind of prefix to execute before each command.
Then the expected behavior would be this one:
- The user open shellex ;
- The user type his command
randomcommand;
- shellex execute
i3 exec randomcommand.