From 2051fa06558ebd5c784cd29b280f3fc8185e7ba4 Mon Sep 17 00:00:00 2001 From: Jose G Perez Taveras Date: Tue, 15 Mar 2022 15:37:08 -0400 Subject: [PATCH] docs: Add additional format examples --- README.org | 5 +++-- display-wttr.el | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 9884446..f32a925 100644 --- a/README.org +++ b/README.org @@ -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)) diff --git a/display-wttr.el b/display-wttr.el index 5ec1829..cfcd444 100644 --- a/display-wttr.el +++ b/display-wttr.el @@ -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'"