I believe this should be `x11` instead of `X11`.
All references to `XDG_SESSION_TYPE` I could find so far used it lower-cased.

Once #153 is merged, this should be dynamic and in case Wayland is being used set to `wayland`.