ssid (136B)
1 #!/usr/bin/env bash 2 3 SSID_NAME=$(/sbin/iwgetid -r) 4 5 if [[ "${SSID_NAME}" != "" ]]; then 6 echo "${SSID_NAME}" 7 else 8 echo "NONE" 9 fi
Yes, my $HOME has a git repo now :(
git clone git://git.shimmy1996.com/dotfiles.git
1 #!/usr/bin/env bash 2 3 SSID_NAME=$(/sbin/iwgetid -r) 4 5 if [[ "${SSID_NAME}" != "" ]]; then 6 echo "${SSID_NAME}" 7 else 8 echo "NONE" 9 fi