force wayland by default

master
lub 5 years ago
parent 5e92129d16
commit 9b1c37f9dd

@ -9,6 +9,10 @@ HISTSIZE=10000
HISTFILESIZE=10000
PATH="$HOME/.bin:$PATH"
#enable wayland
QT_QPA_PLATFORM=wayland-egl
GDK_BACKEND=wayland
function q1 {
echo 'Important and Urgent'
if [ $# -ne 1 ]; then

@ -0,0 +1 @@
disable_wayland

@ -0,0 +1,12 @@
#!/bin/sh
# links to this script disable GDK_BACKEND
# to workaround wayland incompatibilities
unset GDK_BACKEND
# name of the link that was called
called_script=$(basename "$0")
real_bin=$(which --skip-tilde "$called_script")
"${real_bin}" "$@"
Loading…
Cancel
Save