Depending on the input method you use, you might be able to move your .XCompose file to ~/.config/X11/xcompose. Don’t let the X11 in there confuse you, I am using this with fcitx5 under Wayland.
I tried this a couple times already: once when initially moving most of my stuff to XDG, the second a couple years ago. Both times most apps followed it, but there were some that didn’t (don’t remember the details - maybe it was GTK related). I didn’t bother to investigate more, since it seemed like a chore. I guess I’ll try again when I get some free time.
Depending on the input method you use, you might be able to move your
.XComposefile to~/.config/X11/xcompose. Don’t let theX11in there confuse you, I am using this with fcitx5 under Wayland.I tried this a couple times already: once when initially moving most of my stuff to XDG, the second a couple years ago. Both times most apps followed it, but there were some that didn’t (don’t remember the details - maybe it was GTK related). I didn’t bother to investigate more, since it seemed like a chore. I guess I’ll try again when I get some free time.