mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 20:59:21 +01:00
parent
3f2886733a
commit
da21f38b01
@ -8,7 +8,7 @@ PIXELSIZE=6
|
|||||||
|
|
||||||
# Outputs QR code to terminal
|
# Outputs QR code to terminal
|
||||||
|
|
||||||
# ${@:2} takes all arguments except not the first one
|
# ${@:2} takes all arguments except the first one
|
||||||
qrencode -l H -t utf8 "${@:2}"
|
qrencode -l H -t utf8 "${@:2}"
|
||||||
# Stores QR code as $1.png (first argument)
|
# Stores QR code as $1.png (first argument)
|
||||||
qrencode -s $PIXELSIZE -l H -o "$1".png "${@:2}"
|
qrencode -s $PIXELSIZE -l H -o "$1".png "${@:2}"
|
||||||
|
Loading…
Reference in New Issue
Block a user