This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / wifi-qr / wifi-qr.sh
274 B 6 lines
1#!/usr/bin/env bash 2QR_CODE=$(zbarcam --raw --oneshot) 3SSID=$(echo "$QR_CODE" | awk -F 'S:' '{print $2}' | awk -F ';' '{print $1}') 4PW=$(echo "$QR_CODE" | awk -F 'P:' '{print $2}' | awk -F ';' '{print $1}') 5nmcli dev wifi rescan 6nmcli dev wifi connect "$SSID" password "$PW"