From 6f57f517e48b6b09ef190c241579cec002cfde3f Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 19 Nov 2024 12:47:56 -0600 Subject: Fix chmod issue with spaces in lf Chmod would not apply properly to files or folders with spaces in the path; this has been fixed now. --- lf/lfrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lf/lfrc') diff --git a/lf/lfrc b/lf/lfrc index 702fc2d..19c6051 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -51,9 +51,9 @@ cmd chmod ${{ printf "Mode Bits: " read ans - for file in "$fx" + echo "$fx" | while read file do - chmod $ans $file + chmod "$ans" "$file" done }} -- cgit v1.2.3 From fdf4bbf3a585c60a18df446361a24dae4c352d6e Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 28 Feb 2025 11:32:07 -0600 Subject: Fix lf image preview (ctpv broke) --- lf/lfrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lf/lfrc') diff --git a/lf/lfrc b/lf/lfrc index 19c6051..32c9a10 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -1,9 +1,8 @@ set ratios 1:2:3 -set cleaner ctpvclear -set previewer ctpv -&ctpv -s $id . -&ctpvquit $id +set previewer ~/.config/lf/previewer +set cleaner ~/.config/lf/cleaner # Basic Settings +set sixel true set preview true set drawbox false set icons true -- cgit v1.2.3