u
This commit is contained in:
@@ -66,13 +66,13 @@ map X !$f
|
|||||||
cmd open ${{
|
cmd open ${{
|
||||||
|
|
||||||
case "$f" in
|
case "$f" in
|
||||||
*.[Dd][Oo][Cc][Xx]*) onlyoffice-desktopeditor $fx;;
|
*.[Dd][Oo][Cc][Xx]*) onlyoffice-desktopeditor $fx &;;
|
||||||
*.[Gg][Ii][Ff]*) feh $fx &;;
|
*.[Gg][Ii][Ff]*) feh $fx &;;
|
||||||
*.[Jj][Pp][Gg]*) feh $fx &;;
|
*.[Jj][Pp][Gg]*) feh $fx &;;
|
||||||
*.[Jj][Pp][Ee][Gg]*) feh $fx &;;
|
*.[Jj][Pp][Ee][Gg]*) feh $fx &;;
|
||||||
*.[Pp][Dd][Ff]*) mupdf $fx &;;
|
*.[Pp][Dd][Ff]*) mupdf $fx &;;
|
||||||
*.[Pp][Nn][Gg]*) feh $fx &;;
|
*.[Pp][Nn][Gg]*) feh $fx &;;
|
||||||
*.[Rr][Pp][Pp]*) reaper $fx;;
|
*.[Rr][Pp][Pp]*) reaper $fx &;;
|
||||||
*) case $(file --mime-type -Lb $f) in
|
*) case $(file --mime-type -Lb $f) in
|
||||||
text/*) helix $fx;;
|
text/*) helix $fx;;
|
||||||
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;
|
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;
|
||||||
|
|||||||
Reference in New Issue
Block a user