openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
94 stars 16 forks source link

Import user configuration variables #77

Closed FilippoBonazziSUSE closed 2 years ago

FilippoBonazziSUSE commented 2 years ago

GDM and KDE Plasma source systemd user environment variables from ~/.config/environment.d/, sway does not [0]. Let's provide this functionality while we're at it.

[0] https://wiki.archlinux.org/title/Environment_variables#Wayland_environment

FilippoBonazziSUSE commented 2 years ago

I took a quick look at this now and I realized this does not work - it only sources the first configuration file found, not all of them. I will submit a fix as soon as I test it (today or tomorrow)