Skip to content

Instantly share code, notes, and snippets.

@cromwellryan
Created February 1, 2021 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cromwellryan/330f0d4b9ae4d45f4d41efde4bccb669 to your computer and use it in GitHub Desktop.
Save cromwellryan/330f0d4b9ae4d45f4d41efde4bccb669 to your computer and use it in GitHub Desktop.
#!/bin/sh
# -*- coding: utf-8 -*-
# <bitbar.title>Wifi</bitbar.title>
# <bitbar.version>v1.o</bitbar.version>
# <bitbar.author>Ryan Cromwell</bitbar.author>
# <bitbar.author.github>cromwellryan</bitbar.author.github>
# <bitbar.image></bitbar.image>
# <bitbar.desc>Wifi Signal Strength</bitbar.desc>
# <bitbar.dependencies></dependencies>
#
/System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -I \
| grep 'agrCtlRSSI' \
| sed -e 's/^.*://g' \
| xargs -I SIGNAL printf "rssi: SIGNAL"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment