From e01793f1bff0d341ece0ffb55e5c0667ad33549c Mon Sep 17 00:00:00 2001 From: cho Date: Tue, 5 Sep 2023 20:27:22 +0700 Subject: [PATCH] fix sc-im opens neovim after exit --- home/default/.config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/default/.config/lf/lfrc b/home/default/.config/lf/lfrc index 79dafeb..76abb85 100644 --- a/home/default/.config/lf/lfrc +++ b/home/default/.config/lf/lfrc @@ -16,7 +16,7 @@ cmd open ${{ case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in *.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;; *.xlsx) setsid -f libreoffice $f >/dev/null 2>&1 && exit 0 ;; - *.sc) sc-im $f ;; + *.sc) sc-im $f && exit 0;; *.org) setsid -f em $f >/dev/null 2>&1 && exit 0 ;; esac case $(file --mime-type "$(readlink -f $f)" -b) in