From 02a93d127f7fe370eab8fdc5b3c6ca57d1da90b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 8 Oct 2019 22:15:30 -0300 Subject: [PATCH] Remove SDL for wayland (for now). Leave GTK portal for non wayland sessions. --- script/.local/bin/launcher | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/.local/bin/launcher b/script/.local/bin/launcher index d90b17f..9734d14 100755 --- a/script/.local/bin/launcher +++ b/script/.local/bin/launcher @@ -12,8 +12,10 @@ then export MOZ_ENABLE_WAYLAND=1 # Java export _JAVA_AWT_WM_NONREPARENTING=1 - # SDL - export SDL_VIDEODRIVER=wayland + # SDL - not working for most games + #export SDL_VIDEODRIVER=wayland +else + export GTK_USE_PORTAL=1 fi generic-launcher bash -c 'compgen -c | sort -u | fzf --border | xargs lnch'