login shell not run for wayland sessions other than gnome
this has been reported in the past for sway but I'm not sure it was ever reported here. it seems that when running wayland sessions that aren't gnome, the login shell is never ran, so environment variables are never set (if using the login shell to set variables).
I'd like to help with this, as in my experience this can be the source of some hard to diagnose bugs because it's not clear that the cause is that the login shell is never being run, unless you have a really good understanding of the login process. If someone can tell me how I might solve this in a way that isn't WM/DE specific (or rather is WM/DE agnostic) I can go ahead and open a draft PR to resolve this.
if it's relevant here are my specs:
os: fedora 35
kernel: 5.16.8-200.fc35.x86_64
gdm: GDM 41.3
sway: 1.6.1
bash: 5.1.8(1)-release