Skip to content

Instantly share code, notes, and snippets.



Created Sep 10, 2020
What would you like to do?
# [BitBar]( script to display air quality
[[ -a ~/.zshrc ]] && source ~/.zshrc
# aqi can be installed via `brew install brianm/tools/aqi`
# whereami can be installed via `brew install brianm/tools/whereami`
whereami | xargs aqi -- | sort -rn > $tmp
echo "Air: $(head -1 $tmp | cut -f 2)"
echo "---"
cat $tmp
rm $tmp

This comment has been minimized.

Copy link
Owner Author

@brianm brianm commented Sep 11, 2020

BitBar, whereami (brew install brianm/tools/whereami) and aqi (brew install brianm/tools/aqi) needed. Drop this script in your BitBar plugin folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.