Other Sway/wayland , starting mate-panel on startup

eternal_noob

Daemon

Reaction score: 746
Messages: 1,001

Some dude in the Reddit thread i linked uses
Code:
exec swaymsg "workspace 1; exec kitty;"
exec swaymsg "workspace 1; exec google-chrome;"
exec swaymsg "workspace 2; exec thunderbird;"
exec swaymsg "workspace 3; exec hexchat;"
exec swaymsg "workspace 3; exec teams;"

If this doesn't work i'd use a shell script and start that.
 
OP
Alain De Vos

Alain De Vos

Son of Beastie

Reaction score: 803
Messages: 2,610

It seems i missed your answer, or in other words i was reading too quickly.
 
OP
Alain De Vos

Alain De Vos

Son of Beastie

Reaction score: 803
Messages: 2,610

Trying starting multiple applications let sway always crash in my case, even in a script. Probably a small sway bug.
 

memreflect

Well-Known Member

Reaction score: 221
Messages: 257

exec_always xterm& xterm& gives me two xterm windows when I load/reload my i3 config because the exec line is passed to the shell, where '&' will launch the programs in the background. Maybe Sway allows you to do something similar?
 
OP
Alain De Vos

Alain De Vos

Son of Beastie

Reaction score: 803
Messages: 2,610

Thanks for the idea.
But
"exec xterm& xterm&"
makes sway hang during startup.
So it really looks like a bug.
 
Top