Comment # 9 on bug 1181392 from
Hi @Matej,

I think sway itself is just a WM that shouldn't be responsible for the env.
They do provide extensive doc on how those should be tuned.

It is usually implemented in DE like here:
https://github.com/openSUSE/openSUSEway/blob/main/sway/sway-run.sh

> Hmm, do I understand it correctly, that if I create script /usr/local/bin/sway it will be run instead of /usr/bin/sway?

probably, in the desktop file that is in DE - it executes sway0run.sh that
loads env.

> I wonder whether sourcing of ~/.profile shouldn���������t be made default.

it does it from different file in DE. .profile as I mentioned has special
meaning, maybe doesn't fit for DE. And it is hard to do it for home dir, that
why DE file is in etc.

Thanks,
Denys


You are receiving this mail because: