Compose key on swaywm (help)

I am struggling with finding out where and how to enable ralt:compose on wayland swaywm. Can someone point me in the right direction? Thanks.

This is what I use on non-wayland that works fine:
/bin/bash -c “sleep 5 && setxkbmap -option compose:ralt” &

This shell command does the trick on sway…
swaymsg input “type:keyboard” xkb_options compose:ralt

But I’m stymied as to how to reformat the shell command to enable the compose function via/during the boot process.

For others… here’s the solution I came up with. It seems to work in my text editor, firefox and foot.

In the SwayWM config file enter:

input * xkb_options compose:ralt

Bon chance! Viel Glück!