aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/xway
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/xway')
-rwxr-xr-xdotfiles/.local/bin/xway11
1 files changed, 11 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/xway b/dotfiles/.local/bin/xway
new file mode 100755
index 0000000..a6008c6
--- /dev/null
+++ b/dotfiles/.local/bin/xway
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Certain Xorg apps require certain env variable to correctly work through xwayland
+
+export GDK_BACKEND=x11
+export EGL_PLATFORM=x11
+export CLUTTER_PLATFORM=x11
+export SDL_VIDEODRIVER=x11
+export QT_QPA_PLATFORM=xcb
+
+$1