update feh command

This commit is contained in:
Ray Elliott 2021-10-15 19:46:49 +01:00
parent b58f9aaac8
commit a8620075e1
1 changed files with 1 additions and 1 deletions

2
lfrc
View File

@ -37,7 +37,7 @@ map O $mimeopen --ask $f
# text files and a file opener for the rest. # text files and a file opener for the rest.
cmd open ${{ cmd open ${{
case $(file --mime-type $f -b) in case $(file --mime-type $f -b) in
image/*) feh -FZd --conversion-timeout 2 $fx . &;; image/*) feh -FZd --conversion-timeout 2 --start-at $f . &;;
text/*) $EDITOR $fx;; text/*) $EDITOR $fx;;
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;; *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
esac esac