commit: 7f791295ce16aae5a8d9d0e465526c31848df8ab
parent: 3fe48bd9672ebbd59ff0a9ab042215641bbcf919
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 26 Jun 2019 05:50:22 +0200
Add wayland/x11-forcing env variable
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/.local/bin/sway-run b/.local/bin/sway-run
@@ -0,0 +1,7 @@
+#!/bin/sh
+export GDK_BACKEND=wayland
+export QT_QPA_PLATFORM=wayland-egl
+export CLUTTER_BACKEND=wayland
+export SDL_VIDEODRIVER=wayland
+
+sway >~/.local/share/sway.log 2>&1
diff --git a/.xinitrc b/.xinitrc
@@ -1,3 +1,8 @@
+export GDK_BACKEND=x11
+export QT_QPA_PLATFORM=xcb
+#export CLUTTER_BACKEND=
+#export SDL_VIDEODRIVER=
+
#setxkbmap \
# -layout us,ru \
# -variant lanodan,phonetic \