qrshow: handle additional arguments to qrencode

This commit is contained in:
Alexander Gehrke 2026-01-11 15:34:32 +01:00
parent 31a59f0207
commit fd643852d4

View file

@ -3,5 +3,5 @@
if [[ -z "$1" ]]; then if [[ -z "$1" ]]; then
qrencode -s 40 -o - qrencode -s 40 -o -
else else
qrencode -s 40 "$*" -o - qrencode -s 40 -o - -- "$*"
fi | feh -ZF - fi | feh -ZF -