/ open jpg and gif with feh
This commit is contained in:
@@ -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;;
|
||||
|
||||
Reference in New Issue
Block a user