Merge pull request #1935 from kovmir/fix-terminal-priority

Do not default to `xterm`
This commit is contained in:
Arun 2024-09-24 03:49:49 +05:30 committed by GitHub
commit b9ff745fd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,14 +57,14 @@ if [ -n "$WAYLAND_DISPLAY" ] ; then
exit 1
fi
if type xterm >/dev/null 2>&1 ; then
TERMINAL="xterm -into"
elif type urxvt >/dev/null 2>&1 ; then
TERMINAL="urxvt -embed"
if type alacritty >/dev/null 2>&1 ; then
TERMINAL="alacritty --embed"
elif type st >/dev/null 2>&1 ; then
TERMINAL="st -w"
elif type alacritty >/dev/null 2>&1 ; then
TERMINAL="alacritty --embed"
elif type urxvt >/dev/null 2>&1 ; then
TERMINAL="urxvt -embed"
elif type xterm >/dev/null 2>&1 ; then
TERMINAL="xterm -into"
else
echo "No xembed term found" >&2
fi