wayland и x

This commit is contained in:
Евгений Храмов 2023-04-12 21:44:49 +03:00
parent c3ef674d16
commit c8909b249b

@ -1,6 +1,11 @@
[Desktop Entry]
Name=Logseq
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
Exec=/usr/bin/logseq --enable-features=UseOzonePlatform --ozone-platform=wayland %U
else
Exec=/usr/bin/logseq %U
fi
MimeType=x-scheme-handler/logseq
Terminal=false
Type=Application
@ -8,7 +13,3 @@ Icon=logseq
StartupWMClass=logseq
Comment=Open Source platform for knowledge sharing and management
Categories=Office
[Desktop Action X11]
Name=My Application (X11)
Exec=/usr/bin/logseq %U