mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
pgo: prefer full-headless-sway over full-headless-cage
This commit is contained in:
parent
5034209087
commit
768f254286
1 changed files with 2 additions and 5 deletions
|
|
@ -54,13 +54,10 @@ case ${mode} in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
auto)
|
auto)
|
||||||
# TODO: once Sway 1.6.2 has been released, prefer
|
|
||||||
# full-headless-sway
|
|
||||||
|
|
||||||
if [ -n "${WAYLAND_DISPLAY+x}" ]; then
|
if [ -n "${WAYLAND_DISPLAY+x}" ]; then
|
||||||
mode=full-current-session
|
mode=full-current-session
|
||||||
# elif command -v sway > /dev/null; then # Requires 1.6.2
|
elif command -v sway > /dev/null; then
|
||||||
# mode=full-headless-sway
|
mode=full-headless-sway
|
||||||
elif command -v cage > /dev/null; then
|
elif command -v cage > /dev/null; then
|
||||||
mode=full-headless-cage
|
mode=full-headless-cage
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue