mirror of
https://github.com/swaywm/sway.git
synced 2025-03-03 22:24:44 +01:00

According to https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html, to set the value of XDG_CURRENT_DESKTOP, a DesktopNames key is required in the session file. And the value of XDG_CURRENT_DESKTOP is used to run xdg-desktop-portal*. If this value is not set, xdg-desktop-portal-wlr will not run at login.
6 lines
123 B
Desktop File
6 lines
123 B
Desktop File
[Desktop Entry]
|
|
Name=Sway
|
|
Comment=An i3-compatible Wayland compositor
|
|
Exec=sway
|
|
Type=Application
|
|
DesktopNames=sway;wlroots
|