nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8e8289373a5ae05a627b851d2e166ae2897b689d
parent 1051d7213d910be4643d8736fea7a8b922916d3e
Author: CronyAkatsuki <64900606+cronyakatsuki@users.noreply.github.com>
Date:   Fri,  3 Nov 2023 12:08:09 +0000

Add alacritty as xembed client for text-based preview
Diffstat:
Mplugins/preview-tabbed | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/preview-tabbed b/plugins/preview-tabbed @@ -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 @@ -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