dotfiles/zsh/bin/colortest2
2019-08-26 15:29:52 +03:00

9 lines
176 B
Bash
Executable file

#!/bin/sh
set -e
script_dir="$(dirname "$0")"
cols="$(tput cols)"
lines="$(tput lines)"
exec awk -v WIDTH="$((cols/2))" -v HEIGHT="$lines" -f "${script_dir}/colortest2.awk"