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

swaywm

359 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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 year ago

Were you able to figure out a solution to this?

[โ€“] [email protected] 1 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.