set lf to not use sixels for image previews for now
parent
cd1e5c59b2
commit
9868f6210d
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
img () {
|
img () {
|
||||||
chafa "$1" --size="$2"x"$3" --animate=false | sed 's/#/\n#/g'
|
#chafa "$1" --size="$2"x"$3" --animate=false | sed 's/#/\n#/g'
|
||||||
#chafa --format=symbols "$1" --size="$2"x"$3"
|
chafa --format=symbols "$1" --size="$2"x"$3"
|
||||||
}
|
}
|
||||||
|
|
||||||
W="$(($(tput cols)/2 - 10))"
|
W="$(($(tput cols)/2 - 10))"
|
||||||
|
|
Loading…
Reference in New Issue