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.

  • @[email protected]
    link
    fedilink
    2
    edit-2
    1 year ago

    I found this handy guide 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.