citra/dist/appimage/AppRun-hook.sh

10 lines
333 B
Bash
Executable File

# try to make Qt apps more "native looking" on Gtk-based desktops, if possible
# see https://github.com/AppImage/AppImageKit/issues/977#issue-462374883
case "${XDG_CURRENT_DESKTOP}" in
*GNOME*|*gnome*|*X-Cinnamon*|*XFCE*)
export QT_QPA_PLATFORMTHEME=gtk3
;;
esac
export GDK_BACKEND=x11
export QT_QPA_PLATFORM=xcb