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;;