mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-03 16:52:31 +01:00
wifiqr.bash: convert to jpg here too
This commit is contained in:
parent
8162696f55
commit
f81a0ca221
@ -8,6 +8,9 @@
|
|||||||
qrencode -l H -t utf8 "WIFI:T:WPA;S:$1;P:$2;;"
|
qrencode -l H -t utf8 "WIFI:T:WPA;S:$1;P:$2;;"
|
||||||
# Stores QR code as SSID.png, -s doubles pixel size from default 3
|
# Stores QR code as SSID.png, -s doubles pixel size from default 3
|
||||||
qrencode -l H -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
qrencode -l H -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
||||||
|
# Might as well jpg this too
|
||||||
|
convert "$1".png "$1".jpg
|
||||||
|
|
||||||
|
|
||||||
# Prints details
|
# Prints details
|
||||||
echo "SSID: $1"
|
echo "SSID: $1"
|
||||||
|
Loading…
Reference in New Issue
Block a user