wifiqr*bash: fix deprecation warning

This commit is contained in:
Aminda Suomalainen 2024-07-09 13:39:38 +03:00
parent 17545687ab
commit 36f88b78bb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 2 deletions

View File

@ -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
qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:nopass;S:$1;;"
# Might as well jpg this too
convert "$1".png "$1".jpg
magick "$1".png "$1".jpg
# Prints details
echo "SSID: $1"

View File

@ -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
qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
# Might as well jpg this too
convert "$1".png "$1".jpg
magick "$1".png "$1".jpg
# Prints details
echo "SSID: $1"