mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 08:09:23 +01:00
wifiqr*bash: fix deprecation warning
This commit is contained in:
parent
17545687ab
commit
36f88b78bb
@ -11,7 +11,7 @@ qrencode -l H -t utf8 "WIFI:T:nopass;S:$1;;"
|
|||||||
# 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 $PIXELSIZE -o $1.png "WIFI:T:nopass;S:$1;;"
|
qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:nopass;S:$1;;"
|
||||||
# Might as well jpg this too
|
# Might as well jpg this too
|
||||||
convert "$1".png "$1".jpg
|
magick "$1".png "$1".jpg
|
||||||
|
|
||||||
# Prints details
|
# Prints details
|
||||||
echo "SSID: $1"
|
echo "SSID: $1"
|
||||||
|
@ -11,7 +11,7 @@ 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 $PIXELSIZE -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
||||||
# Might as well jpg this too
|
# Might as well jpg this too
|
||||||
convert "$1".png "$1".jpg
|
magick "$1".png "$1".jpg
|
||||||
|
|
||||||
# Prints details
|
# Prints details
|
||||||
echo "SSID: $1"
|
echo "SSID: $1"
|
||||||
|
Loading…
Reference in New Issue
Block a user