openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
82 stars 17 forks source link

Import user configuration variables #77

Closed FilippoBonazziSUSE closed 1 year ago

FilippoBonazziSUSE commented 1 year 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 1 year 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)