mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 18:52:46 +01:00
10 lines
306 B
Bash
Executable File
10 lines
306 B
Bash
Executable File
#!/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
|
|
snap run bitwarden --ozone-platform=x11 --enable-features=WaylandWindowDecorations "$@"
|
|
fi
|
|
set +x
|