Created
February 1, 2021 15:42
-
-
Save cromwellryan/330f0d4b9ae4d45f4d41efde4bccb669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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