Skip to content

Commit

Permalink
Merge pull request #1755 from cronyakatsuki/alacritty
Browse files Browse the repository at this point in the history
preview-tabbed: Add alacritty as xembed client for text-based preview
  • Loading branch information
jarun authored Nov 17, 2023
2 parents 4009e21 + 8e82893 commit 2f22afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/preview-tabbed
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# Dependencies:
# - tabbed (https://tools.suckless.org/tabbed): xembed host
# - xterm (or urxvt or st) : xembed client for text-based preview
# - xterm (or urxvt or st or alacritty) : xembed client for text-based preview
# - mpv (https://mpv.io): xembed client for video/audio
# - sxiv (https://github.com/muennich/sxiv) or,
# - nsxiv (https://codeberg.org/nsxiv/nsxiv) : xembed client for images
Expand Down Expand Up @@ -63,6 +63,8 @@ elif type urxvt >/dev/null 2>&1 ; then
TERMINAL="urxvt -embed"
elif type st >/dev/null 2>&1 ; then
TERMINAL="st -w"
elif type alacritty >/dev/null 2>&1 ; then
TERMINAL="alacritty --embed"
else
echo "No xembed term found" >&2
fi
Expand Down

0 comments on commit 2f22afc

Please sign in to comment.