mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-09 20:02:32 +01:00
Compare commits
2 Commits
444f713332
...
9d2e5953f9
Author | SHA1 | Date | |
---|---|---|---|
9d2e5953f9 | |||
f6e9c796be |
@ -1,6 +1,26 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# I always want to see the profile manager, whether it's my first run or
|
||||||
|
# not and I probably have to micromanage wayland enabling everywhere.
|
||||||
|
|
||||||
|
# I cannot use the Flatpak as it doesn't support smartcards.
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
flatpak run org.mozilla.firefox --ProfileManager $@
|
FlagsForFirefox="--ProfileManager $@"
|
||||||
|
|
||||||
|
# Firefox (stable, beta) and signatures: https://releases.mozilla.org/pub/firefox/releases/
|
||||||
|
# Developer edition (and signatures): https://releases.mozilla.org/pub/devedition/releases/
|
||||||
|
if [ -f ~/.local/firefox/firefox ]
|
||||||
|
then
|
||||||
|
~/.local/firefox/firefox $FlagsForFirefox
|
||||||
|
# Fallback to global installation
|
||||||
|
elif [ -f /usr/bin/firefox ]
|
||||||
|
then
|
||||||
|
/usr/bin/firefox $FlagsForFirefox
|
||||||
|
# Fallback to flatpak, don't care if it doesn't exist
|
||||||
|
else
|
||||||
|
flatpak run org.mozilla.firefox $FlagsForFirefox
|
||||||
|
fi
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user