pgo: pgo.sh: auto: don’t use full-headless-sway

This requires Sway >= 1.6.2, which hasn’t been released yet. Thus,
don’t auto-use it.

Users can still request it explicitly.
This commit is contained in:
Daniel Eklöf 2021-09-04 18:17:18 +02:00
parent 99c4e51e19
commit cf7c5050f6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -54,8 +54,8 @@ case ${mode} in
if [ -n "${WAYLAND_DISPLAY+x}" ]; then
mode=full-current-session
elif command -v sway > /dev/null; then
mode=full-headless-sway
# elif command -v sway > /dev/null; then # Requires 1.6.2
# mode=full-headless-sway
elif command -v cage > /dev/null; then
mode=full-headless-cage
else