Add qrcode to wifi panel

This commit is contained in:
Tyler Perkins
2021-12-21 18:10:27 -05:00
parent 0b6cf2ca52
commit baa4e5f035
4 changed files with 27 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ if [ $# -ne 2 ]; then
echo "The result will be in wifi.png"
fi
qrencode -s 6 -o "./img/wifi.png" "WIFI:T:WPA;S:$1;P:$2;;"
qrencode -s 6 --background=FFFFFF00 -o "./img/wifi.png" "WIFI:T:WPA;S:$1;P:$2;;"
echo "Your wifi qrcode is wifi.png !"
echo "Your wifi qrcode is now in the local img folder as wifi.png"