~xdavidwu/dotfiles

ref: 9e23cea0841813250abdbe716ba7d7600dcb7716 dotfiles/.local/bin/imgcat -rwxr-xr-x 215 bytes
9e23cea0Pinghao Wu sway: fix dell subpixel order 10 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/usr/lib/9base/bin/rc -e
convert $* `{
	# 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
	}^'>'
} sixel:-
echo