Update scope

This commit is contained in:
MMOOBB 2022-06-24 19:35:19 -05:00 committed by GitHub
parent a91ee5fefb
commit 9a95e43e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ ifub() {
# an image appears in multiple places across the machine, it will not have to
# be regenerated once seen.
case "$(file --dereference --brief --mime-type -- "$1")" in
case "$(xdg-mime query filetype "$1")" in
image/*) image "$1" "$2" "$3" "$4" "$5" "$1" ;;
text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;;
text/troff) man ./ "$1" | col -b ;;