Your air in the menu bar.
A dot and a word up top, like ● Muggy 78°. Click it for the headline, the numbers and where your air was three days ago.
Your spot
Example: San Diego (32.9, −117.1)
Rounded to about 7 miles and kept on this device. It only goes into the snippets below.
- Install SwiftBar (or xbar), free menu-bar apps that run small scripts:
brew install --cask swiftbar - Download the plugin into SwiftBar's plugin folder:airstory.15m.shThe 15m in the name means it updates every 15 minutes↓
- Make it runnable and set your spot (filled in for the spot above):
cd ~/SwiftBar # or your plugin folder chmod +x airstory.15m.sh sed -i '' 's/^DEFAULT_LAT=.*/DEFAULT_LAT="{lat}"/; s/^DEFAULT_LON=.*/DEFAULT_LON="{lon}"/; s/^DEFAULT_UNITS=.*/DEFAULT_UNITS="{u}"/' airstory.15m.sh
Using xbar instead
Put the file in xbar's plugin folder and set Latitude, Longitude and units from xbar's plugin settings; the script reads them as variables.
Privacy
Your spot is rounded to about 7 miles before it's used, and nothing about you is stored. Devices ask our server at most every 15 minutes; it answers from public NOAA and National Weather Service data. No account, no key, no sign-up.