Set DesktopNames in sway.desktop to have XDG_CURRENT_DESKTOP

Setting DesktopNames in the desktop file sets the environment variable
`XDG_CURRENT_DESKTOP`, which can be used to find out the name of the
currently running session.
This commit is contained in:
Till Hofmann 2020-01-04 12:00:03 +01:00
parent 1e44247baa
commit 31c9e49181

View file

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