mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 20:59:21 +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 ]
|
||||
then
|
||||
~/.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
|
||||
elif [ -f /usr/bin/firefox ]
|
||||
then
|
||||
|
@ -14,6 +14,10 @@ if [ -f ~/.local/thunderbird/thunderbird ]
|
||||
then
|
||||
~/.local/thunderbird/thunderbird $FlagsForThunderbird
|
||||
# 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 ]
|
||||
then
|
||||
/usr/bin/thunderbird $FlagsForThunderbird
|
||||
|
Loading…
Reference in New Issue
Block a user