Skip to content

Commit

Permalink
docs: Add additional format examples
Browse files Browse the repository at this point in the history
  • Loading branch information
josegpt committed Mar 16, 2022
1 parent c3854c7 commit 2cb36df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ Then add the =display-wttr.el= path to your Emacs =load-path= and add the follow

;; display-wttr supports any format from one-line output
;; https://github.com/chubin/wttr.in#one-line-output
;; (setq display-wttr-format "4")
;; (setq display-wttr-format "%l:+%c+%t\n")
;; (setq display-wttr-format "4") ; New York, United States: ☀️ 🌡️+28°F 🌬️→7mph
;; (setq display-wttr-format "%l:+%c+%t") ; New York, New York, United States: ☀️ +28°F
;; (setq display-wttr-format "%C:+%t+%f+%w") ; Sunny: +28°F +28°F 0mph

;; Interval in which display-wttr.el will be updated.
;; (setq display-wttr-interval (* 60 60))
Expand Down
2 changes: 1 addition & 1 deletion display-wttr.el
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Examples:
2: ☀️ 🌡️+28°F 🌬️→7mph
3: New York, New York, United States: ☀️ +28°F
4: New York, New York, United States: ☀️ 🌡️+28°F 🌬️→7mph
%l:+%c+%t\n: New York, New York, United States: ☀️ +28°F
%l:+%c+%t: New York, New York, United States: ☀️ +28°F
%C:+%t+%f+%w: Sunny: +28°F +28°F 0mph
For more information on the one-line output make sure to visit:
`https://github.com/chubin/wttr.in#one-line-output'"
Expand Down

0 comments on commit 2cb36df

Please sign in to comment.