qrshow: read from stdin
This commit is contained in:
parent
b1b6b52fc8
commit
86f4216cde
|
@ -1,2 +1,6 @@
|
|||
#!/bin/zsh
|
||||
qrencode -s 40 "$*" -o - | feh -ZF -
|
||||
if [[ -z "$1" ]]; then
|
||||
qrencode -s 40 -o -
|
||||
else
|
||||
qrencode -s 40 "$*" -o -
|
||||
fi | feh -ZF -
|
||||
|
|
Loading…
Reference in a new issue