From 07e56407092bfa1819122d7668070a05ccea7fe1 Mon Sep 17 00:00:00 2001 From: Tucker Johnson Date: Tue, 23 Dec 2025 08:36:43 -0500 Subject: [PATCH] sc-im --- lf/icons | 1 + lf/lfrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lf/icons b/lf/icons index c3a1f03..df1666a 100644 --- a/lf/icons +++ b/lf/icons @@ -31,6 +31,7 @@ ex ❗ *.epub 📗 *.csv 📒 *.xlsx 📒 +*.sc 📒 *.sent 📽️ *.tex ✒️ *.md 📔 diff --git a/lf/lfrc b/lf/lfrc index 937c10b..33f5279 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -13,8 +13,9 @@ set autoquit true cmd open ${{ case $(file --mime-type "$(readlink -f $f)" -b) in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; + application/x-sc) sc-im $fx ;; image/vnd.djvu|application/pdf|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;; - text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;; + text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;; image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | -- 2.39.5