Commit graph

3 commits

Author SHA1 Message Date
Thomas Hebb
c764dd00b6 Add DesktopNames key to sway.desktop
As documented[1] in the Desktop Entry Specification, this key causes the
login manager to set XDG_CURRENT_DESKTOP to its value. Projects like
xdg-desktop-portal-wlr[2] require XDG_CURRENT_DESKTOP=sway to work
properly, so let's add this key to our desktop file to make those
projects work more seamlessly for people who use login managers.

[1] https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
[2] https://github.com/emersion/xdg-desktop-portal-wlr
2021-04-24 17:10:42 -07:00
Drew DeVault
83b68b2154 Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
Max Bruckner
0ac6409a75 Add Wayland and Xorg session files
This allows display managers to detect sway.
2015-08-20 23:12:34 +02:00