Merge pull request #1960 from GrantMoyer/wayland_backend

Use Wayland backend for Wayland sessions
This commit is contained in:
Dimitri Witkowski 2022-01-22 09:28:06 +01:00 committed by GitHub
commit 928ba387e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,6 @@
#!/bin/bash
/usr/share/keeweb-desktop/keeweb "$@"
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
/usr/share/keeweb-desktop/keeweb --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"
else
/usr/share/keeweb-desktop/keeweb "$@"
fi