from beef-book
This commit is contained in:
parent
f9de94904f
commit
1d20358bb4
3 changed files with 32 additions and 25 deletions
4
lf/lfrc
4
lf/lfrc
|
@ -10,8 +10,8 @@ set ignorecase true
|
|||
cmd open ${{
|
||||
case $(file --mime-type "$f" -bL) in
|
||||
text/*|application/json) $EDITOR "$f";;
|
||||
video/*|image/*/application/pdf) xdg-open "$f";;
|
||||
*) xdg-open "$f" ;;
|
||||
video/*|image/*/application/pdf) xdg-open "$f" &;;
|
||||
*) xdg-open "$f" &;;
|
||||
esac
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue