Skip to content

Commit

Permalink
Enable wayland by default, fallback to X11 (#99)
Browse files Browse the repository at this point in the history
* Enable wayland by default, fallback to X11

* Update Wayland flags

* Update wrapper script
  • Loading branch information
ghisvail committed Nov 12, 2023
1 parent 58755ae commit 1eef6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions com.bitwarden.desktop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=x11
- --socket=fallback-x11
- --device=dri
- --env=XDG_CURRENT_DESKTOP=Unity
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
Expand Down Expand Up @@ -62,7 +62,7 @@ modules:
dest-filename: bitwarden.sh
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- exec zypak-wrapper /app/Bitwarden/bitwarden "$@"
- exec zypak-wrapper /app/Bitwarden/bitwarden --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
- type: file
path: com.bitwarden.desktop.metainfo.xml

Expand Down

0 comments on commit 1eef6b2

Please sign in to comment.