Skip to content

Commit

Permalink
Auto-detect Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
rocodes committed May 23, 2023
1 parent 1d0006a commit 225d35b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ else
qubes_flag="--no-qubes"
fi

if [[ $XDG_SESSION_TYPE = "wayland" ]]; then
echo "Detected Wayland, will run with QT_QPA_PLATFORM variable..."
export QT_QPA_PLATFORM=wayland
fi

wait

echo "Starting client, log available at: $SDC_HOME/logs/client.log"
Expand Down

0 comments on commit 225d35b

Please sign in to comment.