diff options
-rwxr-xr-x | swaystatus | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,8 +23,8 @@ fi SPACEINFO=$(curl -s "http://status.mainframe.io/api/spaceInfo" | jq -r '.state.message') WLANPWR=$(/usr/sbin/rfkill --json | /usr/bin/jq -r '.""[] | select(.type == "wlan") | select(.device == "phy0") .soft') -WLANSSID=$(/sbin/iw dev wlp3s0 info | grep ssid | cut -d ' ' -f "2-") -WLANFREQ=$(/sbin/iw dev wlp3s0 info | grep channel | cut -d ' ' -f 3 | sed "s/(//g") +WLANSSID=$(/sbin/iw dev wlan0 info | grep ssid | cut -d ' ' -f "2-") +WLANFREQ=$(/sbin/iw dev wlan0 info | grep channel | cut -d ' ' -f 3 | sed "s/(//g") if [ "${WLANPWR}" = "unblocked" ] ; then if [ "${WLANSSID}" = "" ] ; then |