open feh in background
This commit is contained in:
parent
e8157acbed
commit
966946130e
8
lfrc
8
lfrc
|
@ -37,7 +37,7 @@ map O $mimeopen --ask $f
|
|||
# text files and a file opener for the rest.
|
||||
cmd open ${{
|
||||
case $(file --mime-type $f -b) in
|
||||
image/*) feh -FZd --conversion-timeout 2 $fx .;;
|
||||
image/*) feh -FZd --conversion-timeout 2 $fx . &;;
|
||||
text/*) $EDITOR $fx;;
|
||||
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
|
||||
esac
|
||||
|
@ -104,15 +104,15 @@ cmd zip ${{
|
|||
set ratios '2:5'
|
||||
|
||||
cmd view ${{
|
||||
feh -FZd $fs
|
||||
feh -FZd $fs &
|
||||
}}
|
||||
|
||||
map t thumbs
|
||||
cmd thumbs ${{
|
||||
if [ -d "$f" ] ; then
|
||||
feh -t -y128 -E128 $f
|
||||
feh -t -y128 -E128 $f &
|
||||
else
|
||||
feh -t -y128 -E128
|
||||
feh -t -y128 -E128 &
|
||||
fi
|
||||
}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue