Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

display-sunrise-sunset.el

Display sunrise sunset in the mode line πŸŒ….

Installation

Manual

Download display-sunrise-sunset.el to your local directory.

Git

git clone https://github.com/josegpt/display-sunrise-sunset

Curl

curl -s -o display-sunrise-sunset.el https://raw.githubusercontent.com/josegpt/display-sunrise-sunset/main/display-sunrise-sunset.el

Configuration

use-package

(use-package display-sunrise-sunset
 :custom
 (calendar-latitude 40.71)
 (calendar-longitude -74.00)
 (calendar-location-name "New York, NY")
 :config
 (display-sunrise-sunset-mode))

Manual

Then add the display-sunrise-sunset.el path to your Emacs load-path and add the following to your Emacs config.

(add-to-list 'load-path "~/emacs/path")
(setq calendar-latitude 40.71
 calendar-longitude -74.00
 calendar-location-name "New York, NY")
;; Interval in which display-sunrise-sunset.el will be updated.
;; (setq display-sunrise-sunset-interval (* 60 60 24))
(display-sunsrise-sunset-mode 1)

About

Display sunrise sunset in the mode line πŸŒ….

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /