

6·
2 months agoOne big difference is that sway doesn’t run as a login process (and neither does gdm), meaning none of your .profile files are getting sourced. Check how your environment variables differ between i3 and sway and see if that might be the issue.
That would work.
I’m not sure what could be in (or missing from) your environment that would break sudo, but it’s a place to check at least.