From 89b3695c64753e937eca10415371b776b59ce7ec Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Fri, 6 Sep 2024 07:15:32 -0500 Subject: [PATCH] / open jpg and gif with feh --- dots/lf/lfrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dots/lf/lfrc b/dots/lf/lfrc index dd185a5..66f5e5e 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -66,10 +66,13 @@ map X !$f cmd open ${{ case "$f" in + *.[Dd][Oo][Cc][Xx]*) onlyoffice-desktopeditor $fx;; + *.[Gg][Ii][Ff]*) feh $fx &;; + *.[Jj][Pp][Gg]*) feh $fx &;; + *.[Jj][Pp][Ee][Gg]*) feh $fx &;; *.[Pp][Dd][Ff]*) mupdf $fx &;; *.[Pp][Nn][Gg]*) feh $fx &;; *.[Rr][Pp][Pp]*) reaper $fx;; - *.[Dd][Oo][Cc][Xx]*) onlyoffice-desktopeditor $fx;; *) case $(file --mime-type -Lb $f) in text/*) helix $fx;; *) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;