Make the login manager set XDG_CURRENT_DESKTOP

According to the FreeDesktop specification at
<https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html>,
DesktopNames signals to the login manager what XDG_CURRENT_DESKTOP
shall be set to.

This commit has been successfully tested with GDM.
This commit is contained in:
Tobias Predel 2023-05-13 10:51:02 +02:00
parent f21090f978
commit 4026df74a5

View file

@ -3,3 +3,4 @@ Name=Sway
Comment=An i3-compatible Wayland compositor
Exec=sway
Type=Application
DesktopNames=sway