aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-07 22:18:44 +0300
committerawy <awy@tutamail.com>2024-08-07 22:18:44 +0300
commit686358f0521e3d264e463a0af6b38e5e19d17376 (patch)
tree9d750ae12099ea119fb88b29f260fc777ff3b7e8 /.config
parent1df65c4481f61d5aa9b486074ec2c766057748c8 (diff)
small fixes
Diffstat (limited to '.config')
-rw-r--r--.config/lf/lfrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 685f374..3d0ca82 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -1,3 +1,4 @@
+set ifs "\n"
set sixel true
set cleaner ~/.config/lf/cleaner
set previewer ~/.config/lf/scope
@@ -5,6 +6,7 @@ set previewer ~/.config/lf/scope
cmd open ${{
case $(file --mime-type "$(readlink -f $f)" -b) in
text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;;
+ video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
esac
}}