Set QT_QPA_PLATFORM=wayland
This commit is contained in:
parent
7e409c7dcf
commit
fc9991f2a1
1 changed files with 2 additions and 4 deletions
|
|
@ -1,10 +1,8 @@
|
||||||
typeset -U path
|
typeset -U path
|
||||||
path=(~/.local/bin ~/.cargo/bin $path[@])
|
path=(~/.local/bin ~/.cargo/bin $path[@])
|
||||||
|
|
||||||
if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
|
export QT_QPA_PLATFORM=wayland
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# make less more friendly for non-text input files, see lesspipe(1)
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
if [ -x /usr/bin/lesspipe ]; then
|
if [ -x /usr/bin/lesspipe ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue