diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/ctpv/config | 3 | ||||
-rw-r--r-- | .config/lf/lfrc | 8 |
2 files changed, 7 insertions, 4 deletions
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) |