2024-07-09 18:30:41 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
if [ -f /snap/bin/bitwarden ]; then
|
|
|
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
|
|
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
2024-08-04 08:00:48 +02:00
|
|
|
snap run bitwarden --ozone-platform=x11 --enable-features=WaylandWindowDecorations "$@"
|
2024-07-09 18:30:41 +02:00
|
|
|
fi
|
|
|
|
set +x
|