mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 08:09:23 +01:00
add bitwarden wrapper
This commit is contained in:
parent
36f88b78bb
commit
c2c19323df
9
bash/usr-local-bin/bitwarden
Executable file
9
bash/usr-local-bin/bitwarden
Executable file
@ -0,0 +1,9 @@
|
||||
#!/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 --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
fi
|
||||
set +x
|
Loading…
Reference in New Issue
Block a user