Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lujun9972/yahoo-weather-mode
display weather information in mode-line
https://github.com/lujun9972/yahoo-weather-mode
Last synced: 2 months ago
JSON representation
display weather information in mode-line
- Host: GitHub
- URL: https://github.com/lujun9972/yahoo-weather-mode
- Owner: lujun9972
- Archived: true
- Created: 2015-12-29T15:32:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T03:20:51.000Z (about 6 years ago)
- Last Synced: 2024-08-02T01:26:14.927Z (6 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 93.8 KB
- Stars: 6
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: README
#+AUTHOR: lujun9972
#+CATEGORY: yahoo-weather-mode
#+DATE: [2016-01-11 一 20:47]
#+OPTIONS: ^:{}* Usage
Customize the =yahoo-weather-location= which supports chinese characters and then:
~M-x yahoo-weather-mode~
You can set =yahoo-weather-guess-location-function= to a function that sets =yahoo-weather-location= string. For now there's only =yahoo-weather-ipinfo=, which gets location from https://ipinfo.io/ server.
#+BEGIN_SRC emacs-lisp
(setq yahoo-weather-guess-location-function #'yahoo-weather-ipinfo)
#+END_SRCBy default it will only display the weather and temperature.
You can specify =yahoo-weather-format= to display more information and access other settings by =M-x customize-group yahoo-weather=.
[[./snapshot.jpeg]]