mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 11:12:48 +01:00
18 lines
441 B
Plaintext
18 lines
441 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# LibreWolf wrapper for using wayland and starting with ProfileManager
|
||
|
|
||
|
set -x
|
||
|
export MOZ_ENABLE_WAYLAND=1
|
||
|
FlagsForLibrewolf="--ProfileManager $@"
|
||
|
|
||
|
# TODO: Local installation in the future? See the firefox wrapper
|
||
|
if [ -f /usr/bin/librewolf ]; then
|
||
|
/usr/bin/librewolf $FlagsForLibrewolf
|
||
|
# Fallback to flatpak, don't care if it doesn't exist
|
||
|
else
|
||
|
flatpak run io.gitlab.librewolf-community $FlagsForLibrewolf
|
||
|
fi
|
||
|
|
||
|
set +x
|