~xdavidwu/dotfiles

8cce9257bbd2474f3ad9294a64f8d35bf35e29c2 — Pinghao Wu 5 months ago 9e23cea
imgcat: move to magick
1 files changed, 1 insertions(+), 1 deletions(-)

M .local/bin/imgcat
M .local/bin/imgcat => .local/bin/imgcat +1 -1
@@ 1,5 1,5 @@
#!/usr/lib/9base/bin/rc -e
convert $* `{
magick $* `{
	# XXX: $foo(1)x and `{}x produce spaces between?
	rcxy=`{tiocgwinsz} && echo -resize $rcxy(3)^x`{
		echo $rcxy(4) / $rcxy(1) '* ('$rcxy(1) - 1')' | bc