I want to access environment variable from a Gnome-Shell extension.
Some context: I want to create an extension adding "Xorg" or "Wayland" to the panel, based upon the environment variable $XDG_SESSION_TYPE
. I have to do this because I frequently switch (Wine has issues with Wayland), and I don't always remember which type of session is running.