mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
meson-pgo: ‘auto’ now prefers full-headless-sway
This commit is contained in:
parent
5ab1cd3d64
commit
8ea6c93515
1 changed files with 3 additions and 3 deletions
|
|
@ -43,10 +43,10 @@ case $(${CC-cc} --version) in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ${mode} = auto ]; then
|
if [ ${mode} = auto ]; then
|
||||||
if [ -n "${WAYLAND_DISPLAY+x}" ]; then
|
if command -v sway > /dev/null; then
|
||||||
mode=full
|
|
||||||
elif command -v sway > /dev/null; then
|
|
||||||
mode=full-headless-sway
|
mode=full-headless-sway
|
||||||
|
elif [ -n "${WAYLAND_DISPLAY+x}" ]; then
|
||||||
|
mode=full
|
||||||
else
|
else
|
||||||
mode=partial
|
mode=partial
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue