summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-07-02 10:05:41 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-07-02 10:47:52 +0200
commitebd571fc81199beaea38f9b2faea341594730c2e (patch)
tree9d448e1a243a6789a1ecff29e1966faa75533af3 /.config
parent0182dbf61a31ddb98e241204f4427c804af64475 (diff)
lf: switched from stpv to ctpv
Diffstat (limited to '.config')
-rw-r--r--.config/ctpv/config3
-rw-r--r--.config/lf/lfrc8
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)