From ebd571fc81199beaea38f9b2faea341594730c2e Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sat, 2 Jul 2022 10:05:41 +0200 Subject: lf: switched from stpv to ctpv --- .config/ctpv/config | 3 +++ .config/lf/lfrc | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .config/ctpv/config (limited to '.config') diff --git a/.config/ctpv/config b/.config/ctpv/config new file mode 100644 index 0000000..d5b1870 --- /dev/null +++ b/.config/ctpv/config @@ -0,0 +1,3 @@ +preview markdown .md {{ + glow -w $(("$w" - 2)) -s dark "$f" +}} diff --git a/.config/lf/lfrc b/.config/lf/lfrc index e7aecc6..5971a0a 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -5,10 +5,10 @@ set scrolloff 10 set hidden set icons -set previewer stpv -set cleaner stpvimgclr -&stpvimg --listen $id -cmd on-quit $stpvimg --end $id +set previewer ctpv +set cleaner ctpvclear +&ctpv -s $id +cmd on-quit $ctpv -e $id cmd open ${{ test -L $f && f=$(readlink -f $f) -- cgit v1.2.3-70-g09d2