Skip to content

An Emacs package to display air quality information in the modeline.

Notifications You must be signed in to change notification settings

jthaman/air-quality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

air-quality

Modeline indicator to display air quality information in Emacs. Does not use any third-party packages. Air quality information is fetched asynchronously from Open Weather.

Requirements

  • A recent version of Emacs
  • Internet connectivity
  • An Open Weather API key (free, register for an account)

Installation

Install from Github via straight.el until the software is available on MELPA or ELPA.

(use-package air-quality
  :straight (:host github :repo "jthaman/air-quality")
  :init
  (setq air-quality-open-weather-api-key "<your API key>")
  (setq air-quality-latitude 38) ; for example
  (setq air-quality-longitude -77) ; for example
  :config
  (air-quality-mode))

You might prefer :vc use-package keyword in Emacs 30+ or Elpaca.

Outcome

Air quality reports can be Good, Fair, Moderate, Poor, or Very Poor.

About

An Emacs package to display air quality information in the modeline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published