this post was submitted on 30 Jun 2023
6 points (100.0% liked)

swaywm

352 readers
1 users here now

dedicated to the Sway window manager, a drop-in replacement for the i3 window manager, but for Wayland instead of X11.

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] ScrambledLogic 3 points 1 year ago* (last edited 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.