mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-29 14:49:22 +01:00
bash/usr-local-bin/{firefox,thunderbird}: add -wayland fallback
This commit is contained in:
parent
a13f337dde
commit
2cc76529e8
@ -14,6 +14,10 @@ FlagsForFirefox="--ProfileManager $@"
|
|||||||
if [ -f ~/.local/firefox/firefox ]
|
if [ -f ~/.local/firefox/firefox ]
|
||||||
then
|
then
|
||||||
~/.local/firefox/firefox $FlagsForFirefox
|
~/.local/firefox/firefox $FlagsForFirefox
|
||||||
|
# Fallback to global wayland installation
|
||||||
|
elif [ -f /usr/bin/firefox-wayland ]
|
||||||
|
then
|
||||||
|
/usr/bin/firefox-wayland $FlagsForFirefox
|
||||||
# Fallback to global installation
|
# Fallback to global installation
|
||||||
elif [ -f /usr/bin/firefox ]
|
elif [ -f /usr/bin/firefox ]
|
||||||
then
|
then
|
||||||
|
@ -14,6 +14,10 @@ if [ -f ~/.local/thunderbird/thunderbird ]
|
|||||||
then
|
then
|
||||||
~/.local/thunderbird/thunderbird $FlagsForThunderbird
|
~/.local/thunderbird/thunderbird $FlagsForThunderbird
|
||||||
# Fallback to global installation
|
# Fallback to global installation
|
||||||
|
elif [ -f /usr/bin/thunderbird-wayland ]
|
||||||
|
then
|
||||||
|
/usr/bin/thunderbird-wayland $FlagsForThunderbird
|
||||||
|
# Fallback to global installation
|
||||||
elif [ -f /usr/bin/thunderbird ]
|
elif [ -f /usr/bin/thunderbird ]
|
||||||
then
|
then
|
||||||
/usr/bin/thunderbird $FlagsForThunderbird
|
/usr/bin/thunderbird $FlagsForThunderbird
|
||||||
|
Loading…
Reference in New Issue
Block a user