diff options
| author | nilninull <nilninull@gmail.com> | 2024-02-04 17:20:45 +0900 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-03-08 12:56:03 +0100 |
| commit | 9dcccf784bf89e54e5a6f65f72c116943f3b30ea (patch) | |
| tree | 9eee8489678b6585089b2fec667928cb96f444f8 /sway.desktop | |
| parent | 048e304b8a54fc31b53b716538971c0c2315d4c2 (diff) | |
Add the DesktopNames key to the sway.desktop session file
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.
Diffstat (limited to 'sway.desktop')
| -rw-r--r-- | sway.desktop | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway.desktop b/sway.desktop index 420db5aa..cc7fcee7 100644 --- a/sway.desktop +++ b/sway.desktop @@ -3,3 +3,4 @@ Name=Sway Comment=An i3-compatible Wayland compositor Exec=sway Type=Application +DesktopNames=sway;wlroots |
