wayland и x
This commit is contained in:
parent
c3ef674d16
commit
c8909b249b
@ -1,6 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Logseq
|
||||
Exec=/usr/bin/logseq --enable-features=UseOzonePlatform --ozone-platform=wayland %U
|
||||
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
|
Loading…
Reference in New Issue
Block a user