Start Firefox in Wayland mode
This commit is contained in:
parent
b947c67495
commit
75b28ba48f
1 changed files with 5 additions and 0 deletions
|
@ -187,6 +187,11 @@ export PS1="${PS1:-\$ }" # Fallback prompt.
|
||||||
export HISTFILE=""
|
export HISTFILE=""
|
||||||
export TIME_STYLE=long-iso # Used by GNU 'ls'.
|
export TIME_STYLE=long-iso # Used by GNU 'ls'.
|
||||||
|
|
||||||
|
if [ "$XDG_SESSION_TYPE" = "wayland" ]
|
||||||
|
then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$(uname -s)" = Darwin ]
|
if [ "$(uname -s)" = Darwin ]
|
||||||
then
|
then
|
||||||
# MacOS warns about switching from bash to zsh. Silence this.
|
# MacOS warns about switching from bash to zsh. Silence this.
|
||||||
|
|
Loading…
Reference in a new issue