From c1f9c7bbfbe39a842c7993d7b736e5b05a253236 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Sat, 2 Jun 2018 06:01:29 -0700 Subject: [PATCH] Add PrettyWeather as an experimental module --- .../content/posts/configuration/attributes.md | 3 +- _site/content/posts/modules/prettyweather.md | 63 +++++++ .../hyde-hyde/layouts/partials/sidebar.html | 1 + docs/404.html | 1 + docs/categories/index.html | 1 + docs/index.html | 1 + docs/index.xml | 17 +- .../posts/configuration/attributes/index.html | 4 +- docs/posts/configuration/index.html | 1 + docs/posts/configuration/iterm2/index.html | 1 + docs/posts/glossary/index.html | 1 + docs/posts/index.html | 8 + docs/posts/index.xml | 17 +- docs/posts/installation/index.html | 1 + docs/posts/modules/bamboohr/index.html | 1 + docs/posts/modules/clocks/index.html | 1 + docs/posts/modules/cmdrunner/index.html | 1 + docs/posts/modules/gcal/index.html | 1 + docs/posts/modules/git/index.html | 1 + docs/posts/modules/github/index.html | 1 + docs/posts/modules/index.html | 1 + docs/posts/modules/ipinfo/index.html | 1 + docs/posts/modules/jira/index.html | 1 + docs/posts/modules/newrelic/index.html | 1 + docs/posts/modules/opsgenie/index.html | 1 + docs/posts/modules/power/index.html | 1 + docs/posts/modules/prettyweather/index.html | 175 ++++++++++++++++++ docs/posts/modules/security/index.html | 1 + docs/posts/modules/textfile/index.html | 1 + docs/posts/modules/todo/index.html | 1 + docs/posts/modules/weather/index.html | 1 + docs/posts/overview/index.html | 1 + docs/sitemap.xml | 9 +- docs/tags/index.html | 1 + 34 files changed, 316 insertions(+), 6 deletions(-) create mode 100644 _site/content/posts/modules/prettyweather.md create mode 100644 docs/posts/modules/prettyweather/index.html diff --git a/_site/content/posts/configuration/attributes.md b/_site/content/posts/configuration/attributes.md index 93e7c3bb..2850875e 100644 --- a/_site/content/posts/configuration/attributes.md +++ b/_site/content/posts/configuration/attributes.md @@ -72,7 +72,8 @@ change.
Values: A positive integer, `0..n`. `term`
-This value is _optional_. Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal's +_Optional_.
+Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal's default setting.
**Note:** If an invalid value is provided for this setting, the app will crash with a `"terminal entry not found"` error.
diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md new file mode 100644 index 00000000..4e585496 --- /dev/null +++ b/_site/content/posts/modules/prettyweather.md @@ -0,0 +1,63 @@ +--- +title: "Prettyweather" +date: 2018-06-02T05:32:04-07:00 +draft: false +--- + +**🔬 Experimental** + +Displays weather information as ASCII art from +[Wttr.in](http://wttr.in). + +prettyweather screenshot + +## Source Code + +```bash +wtf/prettyweather/ +``` + +## Required ENV Variables + +None. + +## Keyboard Commands + +None. + +## Configuration + +```yaml + prettyweather: + enabled: true + city: "tehran" + position: + top: 3 + left: 5 + height: 1 + width: 1 + refreshInterval: 300 + unit: "c" +``` + +### Attributes + +`city`
+_Optional_.
+Values: The name of any city supported by [Wttr.in](http://wttr.in). + +`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`. + +`position`
+Defines where in the grid this module's widget will be displayed.
+ +`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`. + +`unit`
+_Optional_.
+The temperature scale in which to display temperature values.
+Values: `F` for Fahrenheit, `C` for Celcius. diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index 7c581c66..8f91fd8e 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -33,6 +33,7 @@ + diff --git a/docs/404.html b/docs/404.html index c4f18f4d..4eed2f2b 100644 --- a/docs/404.html +++ b/docs/404.html @@ -74,6 +74,7 @@ + diff --git a/docs/categories/index.html b/docs/categories/index.html index b1bbd4b5..263164e0 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -76,6 +76,7 @@ + diff --git a/docs/index.html b/docs/index.html index 86aa7fad..99ae1e75 100644 --- a/docs/index.html +++ b/docs/index.html @@ -75,6 +75,7 @@ + diff --git a/docs/index.xml b/docs/index.xml index 70822fdc..23cc41a0 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -6,11 +6,26 @@ Recent content on WTF - A Terminal Dashboard Hugo -- gohugo.io en-us - Fri, 01 Jun 2018 23:18:48 -0700 + Sat, 02 Jun 2018 05:32:04 -0700 + + Prettyweather + https://wtfutil.com/posts/modules/prettyweather/ + Sat, 02 Jun 2018 05:32:04 -0700 + + https://wtfutil.com/posts/modules/prettyweather/ + 🔬 Experimental +Displays weather information as ASCII art from Wttr.in. +Source Code wtf/prettyweather/ Required ENV Variables None. +Keyboard Commands None. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. Values: The name of any city supported by Wttr.in. +enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. +position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. + + Module: IPInfo https://wtfutil.com/posts/modules/ipinfo/ diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html index cd62fe89..76a1a2cb 100644 --- a/docs/posts/configuration/attributes/index.html +++ b/docs/posts/configuration/attributes/index.html @@ -74,6 +74,7 @@ + @@ -174,7 +175,8 @@ change.
Values: A positive integer, 0..n.

term
-This value is optional. Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal’s +Optional.
+Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal’s default setting.
Note: If an invalid value is provided for this setting, the app will crash with a "terminal entry not found" error.
diff --git a/docs/posts/configuration/index.html b/docs/posts/configuration/index.html index 63d7284f..ddf6f629 100644 --- a/docs/posts/configuration/index.html +++ b/docs/posts/configuration/index.html @@ -74,6 +74,7 @@

+ diff --git a/docs/posts/configuration/iterm2/index.html b/docs/posts/configuration/iterm2/index.html index 818fe5b5..5c395343 100644 --- a/docs/posts/configuration/iterm2/index.html +++ b/docs/posts/configuration/iterm2/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/glossary/index.html b/docs/posts/glossary/index.html index b3f10ccf..d4533935 100644 --- a/docs/posts/glossary/index.html +++ b/docs/posts/glossary/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/index.html b/docs/posts/index.html index ff7ee96b..7409e432 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -76,6 +76,7 @@ + @@ -96,6 +97,13 @@

Posts

  • + + Prettyweather + + + + +
  • Module: IPInfo diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 179305c8..2e59fdfd 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -6,11 +6,26 @@ Recent content in Posts on WTF - A Terminal Dashboard Hugo -- gohugo.io en-us - Fri, 01 Jun 2018 23:18:48 -0700 + Sat, 02 Jun 2018 05:32:04 -0700 + + Prettyweather + https://wtfutil.com/posts/modules/prettyweather/ + Sat, 02 Jun 2018 05:32:04 -0700 + + https://wtfutil.com/posts/modules/prettyweather/ + 🔬 Experimental +Displays weather information as ASCII art from Wttr.in. +Source Code wtf/prettyweather/ Required ENV Variables None. +Keyboard Commands None. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. Values: The name of any city supported by Wttr.in. +enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. +position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. + + Module: IPInfo https://wtfutil.com/posts/modules/ipinfo/ diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html index f036390d..3b10455f 100644 --- a/docs/posts/installation/index.html +++ b/docs/posts/installation/index.html @@ -74,6 +74,7 @@
  • + diff --git a/docs/posts/modules/bamboohr/index.html b/docs/posts/modules/bamboohr/index.html index f87cf350..410377b0 100644 --- a/docs/posts/modules/bamboohr/index.html +++ b/docs/posts/modules/bamboohr/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/clocks/index.html b/docs/posts/modules/clocks/index.html index 32c5f9ca..acb297d0 100644 --- a/docs/posts/modules/clocks/index.html +++ b/docs/posts/modules/clocks/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/cmdrunner/index.html b/docs/posts/modules/cmdrunner/index.html index 894f4c7d..22e9ddbf 100644 --- a/docs/posts/modules/cmdrunner/index.html +++ b/docs/posts/modules/cmdrunner/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/gcal/index.html b/docs/posts/modules/gcal/index.html index 596520e5..4bafcb43 100644 --- a/docs/posts/modules/gcal/index.html +++ b/docs/posts/modules/gcal/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html index 6290821a..5036a5b5 100644 --- a/docs/posts/modules/git/index.html +++ b/docs/posts/modules/git/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/github/index.html b/docs/posts/modules/github/index.html index d6077656..92ccd756 100644 --- a/docs/posts/modules/github/index.html +++ b/docs/posts/modules/github/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/index.html b/docs/posts/modules/index.html index 774a2eed..f6fe6128 100644 --- a/docs/posts/modules/index.html +++ b/docs/posts/modules/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/ipinfo/index.html b/docs/posts/modules/ipinfo/index.html index 4418cad8..f6f6bde9 100644 --- a/docs/posts/modules/ipinfo/index.html +++ b/docs/posts/modules/ipinfo/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/jira/index.html b/docs/posts/modules/jira/index.html index daebced8..de2bb5b5 100644 --- a/docs/posts/modules/jira/index.html +++ b/docs/posts/modules/jira/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/newrelic/index.html b/docs/posts/modules/newrelic/index.html index 29488765..95ce89aa 100644 --- a/docs/posts/modules/newrelic/index.html +++ b/docs/posts/modules/newrelic/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/opsgenie/index.html b/docs/posts/modules/opsgenie/index.html index 10dc9e9a..dbecdaba 100644 --- a/docs/posts/modules/opsgenie/index.html +++ b/docs/posts/modules/opsgenie/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/power/index.html b/docs/posts/modules/power/index.html index 12f9a8ea..d0acf8d0 100644 --- a/docs/posts/modules/power/index.html +++ b/docs/posts/modules/power/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/prettyweather/index.html b/docs/posts/modules/prettyweather/index.html new file mode 100644 index 00000000..dd98f5eb --- /dev/null +++ b/docs/posts/modules/prettyweather/index.html @@ -0,0 +1,175 @@ + + + + + + + + + + + + +Prettyweather | WTF - A Terminal Dashboard + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Prettyweather

    + +
    + +
    + + + +

    🔬 Experimental

    + +

    Displays weather information as ASCII art from +Wttr.in.

    + +

    prettyweather screenshot

    + +

    Source Code

    +
    wtf/prettyweather/
    +

    Required ENV Variables

    + +

    None.

    + +

    Keyboard Commands

    + +

    None.

    + +

    Configuration

    +
        prettyweather:
    +      enabled: true
    +      city: "tehran"
    +      position:
    +        top: 3
    +        left: 5
    +        height: 1
    +        width: 1
    +      refreshInterval: 300
    +      unit: "c"
    +

    Attributes

    + +

    city
    +Optional.
    +Values: The name of any city supported by Wttr.in.

    + +

    enabled
    +Determines whether or not this module is executed and if its data displayed onscreen.
    +Values: true, false.

    + +

    position
    +Defines where in the grid this module’s widget will be displayed.

    + +

    refreshInterval
    +How often, in seconds, this module will update its data.
    +Values: A positive integer, 0..n.

    + +

    unit
    +Optional.
    +The temperature scale in which to display temperature values.
    +Values: F for Fahrenheit, C for Celcius.

    + +
    + + +
    + + + + diff --git a/docs/posts/modules/security/index.html b/docs/posts/modules/security/index.html index 586d2dbc..371e5197 100644 --- a/docs/posts/modules/security/index.html +++ b/docs/posts/modules/security/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/textfile/index.html b/docs/posts/modules/textfile/index.html index e58cc554..e1a0bc26 100644 --- a/docs/posts/modules/textfile/index.html +++ b/docs/posts/modules/textfile/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/todo/index.html b/docs/posts/modules/todo/index.html index 16517555..45c15d11 100644 --- a/docs/posts/modules/todo/index.html +++ b/docs/posts/modules/todo/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/modules/weather/index.html b/docs/posts/modules/weather/index.html index 1ae432b3..953f1f37 100644 --- a/docs/posts/modules/weather/index.html +++ b/docs/posts/modules/weather/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/posts/overview/index.html b/docs/posts/overview/index.html index 955a8c97..3b8c7f0d 100644 --- a/docs/posts/overview/index.html +++ b/docs/posts/overview/index.html @@ -74,6 +74,7 @@ + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 3ce8dc14..486fc7eb 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -2,6 +2,11 @@ + + https://wtfutil.com/posts/modules/prettyweather/ + 2018-06-02T05:32:04-07:00 + + https://wtfutil.com/posts/modules/ipinfo/ 2018-06-01T23:18:48-07:00 @@ -119,7 +124,7 @@ https://wtfutil.com/posts/ - 2018-06-01T23:18:48-07:00 + 2018-06-02T05:32:04-07:00 0 @@ -130,7 +135,7 @@ https://wtfutil.com/ - 2018-06-01T23:18:48-07:00 + 2018-06-02T05:32:04-07:00 0 diff --git a/docs/tags/index.html b/docs/tags/index.html index 802e9c40..3d782109 100644 --- a/docs/tags/index.html +++ b/docs/tags/index.html @@ -76,6 +76,7 @@ +