aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.scripts/xway
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.scripts/xway')
-rwxr-xr-xdotfiles/.scripts/xway10
1 files changed, 10 insertions, 0 deletions
diff --git a/dotfiles/.scripts/xway b/dotfiles/.scripts/xway
new file mode 100755
index 0000000..b8e5ab8
--- /dev/null
+++ b/dotfiles/.scripts/xway
@@ -0,0 +1,10 @@
+#!/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
+
+$1