mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
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
This commit is contained in:
parent
8529141150
commit
c764dd00b6
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue