diff --git a/.gitignore b/.gitignore index 7ff72253..7048d6ec 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ gcal/client_secret.json .idea/ dist/* +bin/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1439159a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: go +go: + - "1.10" +sudo: false +before_install: + # Make sure travis builds work for forks + - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer + - test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true + - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf + - cd $HOME/gopath/src/github.com/senorprogrammer/wtf diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 00000000..ef289b39 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,169 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + name = "cloud.google.com/go" + packages = ["compute/metadata"] + revision = "0fd7230b2a7505833d5f69b75cbd6c9582401479" + version = "v0.23.0" + +[[projects]] + branch = "master" + name = "github.com/briandowns/openweathermap" + packages = ["."] + revision = "2adae1e5d10290d8cd435bd30296fc5e8f754862" + +[[projects]] + branch = "master" + name = "github.com/gdamore/encoding" + packages = ["."] + revision = "b23993cbb6353f0e6aa98d0ee318a34728f628b9" + +[[projects]] + name = "github.com/gdamore/tcell" + packages = [ + ".", + "terminfo" + ] + revision = "061d51a604c546b48e92253cb65190d76cecf4c6" + version = "v1.0.0" + +[[projects]] + name = "github.com/go-test/deep" + packages = ["."] + revision = "6592d9cc0a499ad2d5f574fde80a2b5c5cc3b4f5" + version = "v1.0.1" + +[[projects]] + name = "github.com/golang/protobuf" + packages = ["proto"] + revision = "b4deda0973fb4c70b50d226b1af49f3da59f5265" + version = "v1.1.0" + +[[projects]] + branch = "master" + name = "github.com/google/go-github" + packages = ["github"] + revision = "2ae5df7848328c214a48cec94c7d410cf8526527" + +[[projects]] + branch = "master" + name = "github.com/google/go-querystring" + packages = ["query"] + revision = "53e6ce116135b80d037921a7fdd5138cf32d7a8a" + +[[projects]] + name = "github.com/jessevdk/go-flags" + packages = ["."] + revision = "c6ca198ec95c841fdb89fc0de7496fed11ab854e" + version = "v1.4.0" + +[[projects]] + name = "github.com/lucasb-eyer/go-colorful" + packages = ["."] + revision = "345fbb3dbcdb252d9985ee899a84963c0fa24c82" + version = "v1.0" + +[[projects]] + name = "github.com/mattn/go-runewidth" + packages = ["."] + revision = "9e777a8366cce605130a531d2cd6363d07ad7317" + version = "v0.0.2" + +[[projects]] + branch = "master" + name = "github.com/olebedev/config" + packages = ["."] + revision = "9a10d05a33a8b9e828f20491e21e8927dec35f72" + +[[projects]] + name = "github.com/radovskyb/watcher" + packages = ["."] + revision = "6145e1439b9de93806925353403f91d2abbad8a5" + version = "v1.0.2" + +[[projects]] + branch = "master" + name = "github.com/rivo/tview" + packages = ["."] + revision = "71ecf1f4299c6d72b16d20da72405b7e85ac8720" + +[[projects]] + branch = "master" + name = "github.com/yfronto/newrelic" + packages = ["."] + revision = "f7fa0c6f30ac3d86360c73726cfe9dd526a63d21" + +[[projects]] + branch = "master" + name = "golang.org/x/net" + packages = [ + "context", + "context/ctxhttp" + ] + revision = "1e491301e022f8f977054da4c2d852decd59571f" + +[[projects]] + branch = "master" + name = "golang.org/x/oauth2" + packages = [ + ".", + "google", + "internal", + "jws", + "jwt" + ] + revision = "1e0a3fa8ba9a5c9eb35c271780101fdaf1b205d7" + +[[projects]] + name = "golang.org/x/text" + packages = [ + "encoding", + "encoding/internal/identifier", + "internal/gen", + "transform", + "unicode/cldr" + ] + revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" + version = "v0.3.0" + +[[projects]] + branch = "master" + name = "google.golang.org/api" + packages = [ + "calendar/v3", + "gensupport", + "googleapi", + "googleapi/internal/uritemplates" + ] + revision = "00e3bb8d04691e25ee2fccf98c866bcb7925c3ec" + +[[projects]] + name = "google.golang.org/appengine" + packages = [ + ".", + "internal", + "internal/app_identity", + "internal/base", + "internal/datastore", + "internal/log", + "internal/modules", + "internal/remote_api", + "internal/urlfetch", + "urlfetch" + ] + revision = "150dc57a1b433e64154302bdc40b6bb8aefa313a" + version = "v1.0.0" + +[[projects]] + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183" + version = "v2.2.1" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "b0e632406212933c5f4d7652db7aa06e63f4ed94d38ceb823e5c51b865c20be0" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 00000000..c18c9146 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,78 @@ +# Gopkg.toml example +# +# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html +# for detailed Gopkg.toml documentation. +# +# required = ["github.com/user/thing/cmd/thing"] +# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] +# +# [[constraint]] +# name = "github.com/user/project" +# version = "1.0.0" +# +# [[constraint]] +# name = "github.com/user/project2" +# branch = "dev" +# source = "github.com/myfork/project2" +# +# [[override]] +# name = "github.com/x/y" +# version = "2.4.0" +# +# [prune] +# non-go = false +# go-tests = true +# unused-packages = true + + +[[constraint]] + name = "github.com/briandowns/openweathermap" + branch = "master" + +[[constraint]] + name = "github.com/gdamore/tcell" + version = "1.0.0" + +[[constraint]] + name = "github.com/go-test/deep" + version = "1.0.1" + +[[constraint]] + name = "github.com/google/go-github" + branch = "master" + +[[constraint]] + name = "github.com/jessevdk/go-flags" + version = "1.4.0" + +[[constraint]] + branch = "master" + name = "github.com/olebedev/config" + +[[constraint]] + name = "github.com/radovskyb/watcher" + version = "1.0.2" + +[[constraint]] + branch = "master" + name = "github.com/rivo/tview" + +[[constraint]] + branch = "master" + name = "github.com/yfronto/newrelic" + +[[constraint]] + branch = "master" + name = "golang.org/x/oauth2" + +[[constraint]] + branch = "master" + name = "google.golang.org/api" + +[[constraint]] + name = "gopkg.in/yaml.v2" + version = "2.2.1" + +[prune] + go-tests = true + unused-packages = true diff --git a/Makefile b/Makefile index 0828bf38..4d54bd05 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ BRANCH := `git rev-parse --abbrev-ref HEAD` .PHONY: dependencies install run -dependencies: - go get -v ./... +build: + go build -o bin/wtf install: which wtf | xargs rm || true go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6)_$(BRANCH) -X main.date=$(shell date +%FT%T%z)" which wtf -run: - wtf +run: build + bin/wtf diff --git a/README.md b/README.md index 6ed53242..705c2be5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +

+ + +

+

@@ -13,8 +18,7 @@ displaying infrequently-needed, but very important, daily data. ### Installation from Source -*Note:* This has only been tested to build against Go 1.9.2. It won't -work with Go versions < 1.7, and only _may_ work on other versions. +**Note:** WTF is _only_ compatible with Go versions **1.9.2** or later. It currently _does not_ compile with `gccgo`. ```bash go get -u github.com/senorprogrammer/wtf @@ -27,7 +31,7 @@ Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases) ## Support -Chat on Gitter: +Chat on Gitter [![Join the chat at https://gitter.im/wtfutil/Lobby](https://badges.gitter.im/wtfutil/Lobby.svg)](https://gitter.im/wtfutil/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ## Documentation @@ -95,3 +99,4 @@ Many thanks to all these developers.

+ diff --git a/_site/content/posts/modules/github.md b/_site/content/posts/modules/github.md index 1b201e30..3cfee576 100644 --- a/_site/content/posts/modules/github.md +++ b/_site/content/posts/modules/github.md @@ -1,13 +1,11 @@ --- -title: "Github" +title: "GitHub" date: 2018-05-09T19:20:20-07:00 draft: false --- -Displays information about git repositories hosted on Github: open -review requests, and open pull requests. +Displays information about your git repositories hosted on Github: -github screenshot #### Open Review Requests @@ -17,6 +15,8 @@ All open code review requests assigned to you. All open pull requests created by you. +github screenshot + ## Source Code ```bash diff --git a/_site/content/posts/modules/ipinfo.md b/_site/content/posts/modules/ipinfo.md index b6e2663a..93b8edb2 100644 --- a/_site/content/posts/modules/ipinfo.md +++ b/_site/content/posts/modules/ipinfo.md @@ -6,6 +6,8 @@ draft: false Displays your current IP address information, from ipinfo.io. +**Note:** IPInfo.io has a free-plan rate limit of 1000 requests per day. + ipinfo screenshot ## Source Code @@ -35,7 +37,7 @@ ipinfo: left: 2 height: 1 width: 1 - refreshInterval: 15 + refreshInterval: 150 ``` ### Attributes diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md index 39a08e4b..1f748a32 100644 --- a/_site/content/posts/modules/prettyweather.md +++ b/_site/content/posts/modules/prettyweather.md @@ -38,6 +38,7 @@ None. width: 1 refreshInterval: 300 unit: "c" + view: 0 ``` ### Attributes @@ -62,3 +63,7 @@ Values: A positive integer, `0..n`. _Optional_. It will use metric if you are out of US and imperial for US.
The temperature scale in which to display temperature values.
Values: `F` for Fahrenheit, `C` for Celcius. + +`view`
+_Optional_ Wttr.in view configuration.
+Values: See `curl wttr.in/:help` for more details. diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index 5d1c6bc4..fe5c83e2 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -28,7 +28,7 @@ - + diff --git a/bamboohr/calendar.go b/bamboohr/calendar.go index 2b2dadea..4dcb3840 100644 --- a/bamboohr/calendar.go +++ b/bamboohr/calendar.go @@ -1,7 +1,5 @@ package bamboohr -import () - type Calendar struct { Items []Item `xml:"item"` } diff --git a/bamboohr/employee.go b/bamboohr/employee.go index 02d179d6..7cc655bd 100644 --- a/bamboohr/employee.go +++ b/bamboohr/employee.go @@ -1,7 +1,5 @@ package bamboohr -import () - /* * Note: this currently implements the minimum number of fields to fulfill the Away functionality. * Undoubtedly there are more fields than this to an employee diff --git a/cryptoexchanges/bittrex/widget.go b/cryptoexchanges/bittrex/widget.go index 3f6f4d92..7bb83b3a 100644 --- a/cryptoexchanges/bittrex/widget.go +++ b/cryptoexchanges/bittrex/widget.go @@ -28,7 +28,7 @@ type TextColors struct { var ok = true var errorText = "" -var started = false + var baseURL = "https://bittrex.com/api/v1.1/public/getmarketsummary" // Widget define wtf widget to register widget later @@ -40,13 +40,11 @@ type Widget struct { // NewWidget Make new instance of widget func NewWidget() *Widget { - widget := Widget{ TextWidget: wtf.NewTextWidget(" Bittrex ", "bittrex", false), summaryList: summaryList{}, } - started = false ok = true errorText = "" @@ -106,20 +104,9 @@ func (widget *Widget) Refresh() { return } - if started == false { - go func() { - for { - widget.updateSummary() - time.Sleep(time.Second * time.Duration(widget.RefreshInterval())) - } - }() - started = true - } - + widget.updateSummary() widget.UpdateRefreshedAt() - widget.display() - } /* -------------------- Unexported Functions -------------------- */ diff --git a/cryptoexchanges/cryptolive/widget.go b/cryptoexchanges/cryptolive/widget.go index e58b9435..732f6863 100644 --- a/cryptoexchanges/cryptolive/widget.go +++ b/cryptoexchanges/cryptolive/widget.go @@ -13,7 +13,6 @@ import ( // Config is a pointer to the global config object var Config *config.Config -var started = false var baseURL = "https://min-api.cryptocompare.com/data/price" var ok = true @@ -26,7 +25,6 @@ type Widget struct { // NewWidget Make new instance of widget func NewWidget() *Widget { - started = false widget := Widget{ TextWidget: wtf.NewTextWidget(" CryptoLive ", "cryptolive", false), } @@ -36,19 +34,6 @@ func NewWidget() *Widget { return &widget } -func (widget *Widget) setList() { - currenciesMap, _ := Config.Map("wtf.mods.cryptolive.currencies") - - widget.list = &list{} - - for currency := range currenciesMap { - displayName, _ := Config.String("wtf.mods.cryptolive.currencies." + currency + ".displayName") - toList := getToList(currency) - widget.list.addItem(currency, displayName, toList) - } - -} - /* -------------------- Exported Functions -------------------- */ // Refresh & update after interval time @@ -57,21 +42,8 @@ func (widget *Widget) Refresh() { return } - if started == false { - // this code should run once - go func() { - for { - widget.updateCurrencies() - time.Sleep(time.Duration(widget.RefreshInterval()) * time.Second) - } - }() - - } - - started = true - + widget.updateCurrencies() widget.UpdateRefreshedAt() - widget.View.Clear() if !ok { widget.View.SetText( @@ -79,12 +51,13 @@ func (widget *Widget) Refresh() { ) return } - display(widget) + + widget.display() } /* -------------------- Unexported Functions -------------------- */ -func display(widget *Widget) { +func (widget *Widget) display() { str := "" var ( fromNameColor = Config.UString("wtf.mods.cryptolive.colors.from.name", "coral") @@ -118,6 +91,18 @@ func getToList(fromName string) []*toCurrency { return toList } +func (widget *Widget) setList() { + currenciesMap, _ := Config.Map("wtf.mods.cryptolive.currencies") + + widget.list = &list{} + + for currency := range currenciesMap { + displayName, _ := Config.String("wtf.mods.cryptolive.currencies." + currency + ".displayName") + toList := getToList(currency) + widget.list.addItem(currency, displayName, toList) + } +} + func (widget *Widget) updateCurrencies() { defer func() { recover() @@ -149,7 +134,7 @@ func (widget *Widget) updateCurrencies() { setPrices(&jsonResponse, fromCurrency) } - display(widget) + widget.display() } func makeRequest(currency *fromCurrency) *http.Request { diff --git a/docs/404.html b/docs/404.html index ac5e8a16..a6f51b08 100644 --- a/docs/404.html +++ b/docs/404.html @@ -69,7 +69,7 @@ - + diff --git a/docs/categories/index.html b/docs/categories/index.html index a544f62c..b52bb86e 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -71,7 +71,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 24b1eae2..5b332b6c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -70,7 +70,7 @@ - + diff --git a/docs/index.xml b/docs/index.xml index 1596a7db..a86b5ce2 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -57,7 +57,7 @@ position Defines where in the grid this module&rsquo;s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34; Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34;view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. 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&rsquo;s widget will be displayed. @@ -70,12 +70,12 @@ position Defines where in the grid this module&rsquo;s widget will be displa https://wtfutil.com/posts/modules/ipinfo/ Displays your current IP address information, from ipinfo.io. +Note: IPInfo.io has a free-plan rate limit of 1000 requests per day. Source Code wtf/ipinfo/ Required ENV Variables None. Keyboard Commands None. -Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name. +Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name. colors.value The default colour for the row values. Values: Any X11 color name. -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&rsquo;s widget will be displayed. +enabled Determines whether or not this module is executed and if its data displayed onscreen. @@ -195,12 +195,12 @@ Keyboard Commands None. - Github + GitHub https://wtfutil.com/posts/modules/github/ Wed, 09 May 2018 19:20:20 -0700 https://wtfutil.com/posts/modules/github/ - Displays information about git repositories hosted on Github: open review requests, and open pull requests. + Displays information about your git repositories hosted on Github: Open Review Requests All open code review requests assigned to you. Open Pull Requests All open pull requests created by you. Source Code wtf/github/ Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token. diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html index f263b231..a5354fce 100644 --- a/docs/posts/configuration/attributes/index.html +++ b/docs/posts/configuration/attributes/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/configuration/index.html b/docs/posts/configuration/index.html index 2e5f8344..ec410d85 100644 --- a/docs/posts/configuration/index.html +++ b/docs/posts/configuration/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/configuration/iterm2/index.html b/docs/posts/configuration/iterm2/index.html index 45f31cb8..dcb4d6c6 100644 --- a/docs/posts/configuration/iterm2/index.html +++ b/docs/posts/configuration/iterm2/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/glossary/index.html b/docs/posts/glossary/index.html index 0d33fa48..9a4f7187 100644 --- a/docs/posts/glossary/index.html +++ b/docs/posts/glossary/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 15386a6a..ae588754 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -71,7 +71,7 @@ - + @@ -191,7 +191,7 @@
  • - Github + GitHub diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 49b15fc1..2dc5ba0f 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -57,7 +57,7 @@ position Defines where in the grid this module&rsquo;s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34; Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34;view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. 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&rsquo;s widget will be displayed. @@ -70,12 +70,12 @@ position Defines where in the grid this module&rsquo;s widget will be displa https://wtfutil.com/posts/modules/ipinfo/ Displays your current IP address information, from ipinfo.io. +Note: IPInfo.io has a free-plan rate limit of 1000 requests per day. Source Code wtf/ipinfo/ Required ENV Variables None. Keyboard Commands None. -Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name. +Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name. colors.value The default colour for the row values. Values: Any X11 color name. -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&rsquo;s widget will be displayed. +enabled Determines whether or not this module is executed and if its data displayed onscreen. @@ -195,12 +195,12 @@ Keyboard Commands None. - Github + GitHub https://wtfutil.com/posts/modules/github/ Wed, 09 May 2018 19:20:20 -0700 https://wtfutil.com/posts/modules/github/ - Displays information about git repositories hosted on Github: open review requests, and open pull requests. + Displays information about your git repositories hosted on Github: Open Review Requests All open code review requests assigned to you. Open Pull Requests All open pull requests created by you. Source Code wtf/github/ Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token. diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html index 238d98ad..1237a416 100644 --- a/docs/posts/installation/index.html +++ b/docs/posts/installation/index.html @@ -69,7 +69,7 @@
  • - + diff --git a/docs/posts/modules/bamboohr/index.html b/docs/posts/modules/bamboohr/index.html index 1cb3123d..240a8181 100644 --- a/docs/posts/modules/bamboohr/index.html +++ b/docs/posts/modules/bamboohr/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/clocks/index.html b/docs/posts/modules/clocks/index.html index fb3630f9..04333353 100644 --- a/docs/posts/modules/clocks/index.html +++ b/docs/posts/modules/clocks/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/cmdrunner/index.html b/docs/posts/modules/cmdrunner/index.html index 8f6b99f8..1ec0afca 100644 --- a/docs/posts/modules/cmdrunner/index.html +++ b/docs/posts/modules/cmdrunner/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/cryptocurrencies/bittrex/index.html b/docs/posts/modules/cryptocurrencies/bittrex/index.html index 805d53b8..f9f033eb 100644 --- a/docs/posts/modules/cryptocurrencies/bittrex/index.html +++ b/docs/posts/modules/cryptocurrencies/bittrex/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/cryptocurrencies/cryptolive/index.html b/docs/posts/modules/cryptocurrencies/cryptolive/index.html index 42fa4754..832af988 100644 --- a/docs/posts/modules/cryptocurrencies/cryptolive/index.html +++ b/docs/posts/modules/cryptocurrencies/cryptolive/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/gcal/index.html b/docs/posts/modules/gcal/index.html index 1d4575fa..7e6f4a4b 100644 --- a/docs/posts/modules/gcal/index.html +++ b/docs/posts/modules/gcal/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html index 1af425bb..e958c4f1 100644 --- a/docs/posts/modules/git/index.html +++ b/docs/posts/modules/git/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/github/index.html b/docs/posts/modules/github/index.html index 60e6ba9f..eb556adb 100644 --- a/docs/posts/modules/github/index.html +++ b/docs/posts/modules/github/index.html @@ -10,8 +10,8 @@ -Github | WTF - A Terminal Dashboard - +GitHub | WTF - A Terminal Dashboard + @@ -69,7 +69,7 @@ - + @@ -95,7 +95,7 @@
    -

    Github

    +

    GitHub

    left: 2 height: 1 width: 1 - refreshInterval: 15
    + refreshInterval: 150

    Attributes

    colors.name
    diff --git a/docs/posts/modules/jira/index.html b/docs/posts/modules/jira/index.html index 873e0d71..4a60fb7a 100644 --- a/docs/posts/modules/jira/index.html +++ b/docs/posts/modules/jira/index.html @@ -69,7 +69,7 @@

    - + diff --git a/docs/posts/modules/newrelic/index.html b/docs/posts/modules/newrelic/index.html index a530c529..eac8a8db 100644 --- a/docs/posts/modules/newrelic/index.html +++ b/docs/posts/modules/newrelic/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/opsgenie/index.html b/docs/posts/modules/opsgenie/index.html index 0dce3b33..dd2eef1a 100644 --- a/docs/posts/modules/opsgenie/index.html +++ b/docs/posts/modules/opsgenie/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/power/index.html b/docs/posts/modules/power/index.html index 73c15143..7cbb1d72 100644 --- a/docs/posts/modules/power/index.html +++ b/docs/posts/modules/power/index.html @@ -69,7 +69,7 @@ - + diff --git a/docs/posts/modules/prettyweather/index.html b/docs/posts/modules/prettyweather/index.html index ffffc180..d6bd7e91 100644 --- a/docs/posts/modules/prettyweather/index.html +++ b/docs/posts/modules/prettyweather/index.html @@ -69,7 +69,7 @@ - + @@ -140,7 +140,8 @@ height: 1 width: 1 refreshInterval: 300 - unit: "c"
    + unit: "c" + view: 0

    Attributes

    city
    @@ -164,6 +165,10 @@ Values: A positive integer, 0..n.

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

    +

    view
    +Optional Wttr.in view configuration.
    +Values: See curl wttr.in/:help for more details.

    +