dotfiles/.local/bin/qr

6 lines
85 B
Bash
Executable File

#!/bin/sh
[ -t 1 ] &&
qrencode -m2 -t ANSI256UTF8 "$@" ||
qrencode -m2 -t UTF8 "$@"