launcher: force xcb connection on Wayland

This commit is contained in:
liushuyu 2022-07-20 01:42:39 -06:00
parent 1cd176d910
commit fc96533c82
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -13,6 +13,7 @@ EOF
zenity --warning --no-wrap --title "That's awkward ..." --text "$MESSAGE"
}
export QT_QPA_PLATFORM=xcb
# Discord RPC
for i in {0..9}; do
test -S "$XDG_RUNTIME_DIR"/"discord-ipc-$i" || ln -sf {app/com.discordapp.Discord,"$XDG_RUNTIME_DIR"}/"discord-ipc-$i";