diff --git a/pgo/pgo.sh b/pgo/pgo.sh index 24891438..24597c82 100755 --- a/pgo/pgo.sh +++ b/pgo/pgo.sh @@ -54,13 +54,10 @@ case ${mode} in ;; auto) - # TODO: once Sway 1.6.2 has been released, prefer - # full-headless-sway - if [ -n "${WAYLAND_DISPLAY+x}" ]; then mode=full-current-session - # elif command -v sway > /dev/null; then # Requires 1.6.2 - # mode=full-headless-sway + elif command -v sway > /dev/null; then + mode=full-headless-sway elif command -v cage > /dev/null; then mode=full-headless-cage else