summaryrefslogtreecommitdiff
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-04 15:10:43 +0100
committerAdam Stück <adam@adast.xyz>2023-03-04 15:10:43 +0100
commitb130d764858cc063d650236ec7c533c56eb2748c (patch)
tree9561d58eeedc8e05252a3c83b7d963b9b5e6997e /.config/lf/lfrc
parent7456125d2d75cee39f98cedcb4ac37f39eeeab66 (diff)
lf: enable previews
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index bd8f1d5..2a77128 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -1,8 +1,11 @@
set shell sh
set shellopts '-eu'
set scrolloff 10
-# set hidden
-# set icons
+
+set previewer ctpv
+set cleaner ctpvclear
+&ctpv -s $id
+&ctpvquit $id
cmd on-cd &{{
printf "\033]0; $(pwd | sed "s|$HOME|~|") - lf\007" > /dev/tty