Skip to content

Commit

Permalink
Merge pull request #1935 from kovmir/fix-terminal-priority
Browse files Browse the repository at this point in the history
Do not default to `xterm`
  • Loading branch information
jarun authored Sep 23, 2024
2 parents 07a972a + 28c8504 commit b9ff745
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/preview-tabbed
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9ff745

Please sign in to comment.