u
This commit is contained in:
@@ -5,8 +5,8 @@ w="$2" h="$3" x="$4" y="$5"
|
|||||||
|
|
||||||
case "$(file -Lb --mime-type "$file")" in
|
case "$(file -Lb --mime-type "$file")" in
|
||||||
image/*)
|
image/*)
|
||||||
# kitten icat --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" "$file" /dev/tty
|
kitten icat --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" "$file" /dev/tty
|
||||||
kitten icat --stdin no --transfer-mode memory "$file" /dev/tty
|
# kitten icat --stdin no --transfer-mode memory "$file" /dev/tty
|
||||||
;;
|
;;
|
||||||
application/pdf)
|
application/pdf)
|
||||||
pdftoppm -f 1 -singlefile "$file" "/tmp/lfoutput"
|
pdftoppm -f 1 -singlefile "$file" "/tmp/lfoutput"
|
||||||
|
|||||||
Reference in New Issue
Block a user