mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 18:52:46 +01:00
bash/usr-local-bin: add librewolf wrapper
This commit is contained in:
parent
ecacaf7d28
commit
52cc1ed161
17
bash/usr-local-bin/librewolf
Executable file
17
bash/usr-local-bin/librewolf
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user