mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05: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
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue