From 8ea6c9351512b833c048db8bfedd4f4075942815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 31 Aug 2021 16:38:12 +0200 Subject: [PATCH] =?UTF-8?q?meson-pgo:=20=E2=80=98auto=E2=80=99=20now=20pre?= =?UTF-8?q?fers=20full-headless-sway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meson-pgo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson-pgo.sh b/meson-pgo.sh index dc0157f0..2057c2a6 100755 --- a/meson-pgo.sh +++ b/meson-pgo.sh @@ -43,10 +43,10 @@ case $(${CC-cc} --version) in esac if [ ${mode} = auto ]; then - if [ -n "${WAYLAND_DISPLAY+x}" ]; then - mode=full - elif command -v sway > /dev/null; then + if command -v sway > /dev/null; then mode=full-headless-sway + elif [ -n "${WAYLAND_DISPLAY+x}" ]; then + mode=full else mode=partial fi