I’m new to Sway. I don’t know how to describe this clearly, but I’d like to get a messaging app to autostart in workspace 3 on every boot. That app runs inside a foot terminal.
If there’s a doc available, please give the url. I couldn’t find.
I’m new to Sway. I don’t know how to describe this clearly, but I’d like to get a messaging app to autostart in workspace 3 on every boot. That app runs inside a foot terminal.
If there’s a doc available, please give the url. I couldn’t find.
I found this: https://gist.github.com/3lpsy/9fc13dae3ba9c176013e3f6457b458e2 which I believe accomplishes what you’re trying to do. You can get app_id by running swaymsg -t get_tree. However, if you’re launching within foot you may have to force a different app_id/title with foot’s options so that you can launch foot elsewhere for other things. I do this with htop like so: foot -T htop -a htop htop. This sets the title to htop, the app_id to htop, and then finally launches htop within foot.