diff --git a/.travis.yml b/.travis.yml
index b20b9c4a..c90dfc89 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,9 @@ go:
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
+ - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/andrewzolotukhin
+ - test ! -d $GOPATH/src/github.com/andrewzolotukhin/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/andrewzolotukhin/wtf || true
+ - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/andrewzolotukhin/wtf
+ - cd $HOME/gopath/src/github.com/andrewzolotukhin/wtf
-script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests
+script: go get ./... && go get github.com/go-test/deep && go test -v github.com/andrewzolotukhin/wtf/wtf_tests
diff --git a/README.md b/README.md
index d9a53bd7..5e2177ac 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
@@ -20,13 +20,13 @@ displaying infrequently-needed, but very important, daily data.
**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
-cd $GOPATH/src/github.com/senorprogrammer/wtf
+go get -u github.com/andrewzolotukhin/wtf
+cd $GOPATH/src/github.com/andrewzolotukhin/wtf
make install
make run
```
-Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases).
+Or [download the latest binary](https://github.com/andrewzolotukhin/wtf/releases).
## Support
@@ -48,7 +48,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
## Authors
-* Chris Cummer, [senorprogrammer](https://github.com/senorprogrammer)
+* Chris Cummer, [andrewzolotukhin](https://github.com/andrewzolotukhin)
## License
diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml
index 57e3f41c..52fc8507 100644
--- a/_sample_configs/complex_config.yml
+++ b/_sample_configs/complex_config.yml
@@ -108,7 +108,7 @@ wtf:
width: 3
refreshInterval: 8
repositories:
- - "/Users/chris/go/src/github.com/senorprogrammer/wtf"
+ - "/Users/chris/go/src/github.com/andrewzolotukhin/wtf"
github:
enabled: true
position:
@@ -119,8 +119,8 @@ wtf:
refreshInterval: 300
repositories:
repo-name: "owner id"
- wtf: "senorprogrammer"
- username: "senorprogrammer"
+ wtf: "andrewzolotukhin"
+ username: "andrewzolotukhin"
jira:
colors:
rows:
diff --git a/_site/content/posts/configuration/attributes.md b/_site/content/posts/configuration/attributes.md
index 2850875e..0339bcdf 100644
--- a/_site/content/posts/configuration/attributes.md
+++ b/_site/content/posts/configuration/attributes.md
@@ -5,7 +5,7 @@ draft: false
---
The following top-level attributes are configurable in `config.yml`.
-See this example config file for more details.
+See this example config file for more details.
```yaml
wtf:
diff --git a/_site/content/posts/installation.md b/_site/content/posts/installation.md
index dcc4aafa..51c230cc 100644
--- a/_site/content/posts/installation.md
+++ b/_site/content/posts/installation.md
@@ -11,8 +11,8 @@ There are two ways to install WTF:
Get this repo and install the dependencies:
```bash
-go get -u github.com/senorprogrammer/wtf
-cd $GOPATH/src/github.com/senorprogrammer/wtf
+go get -u github.com/andrewzolotukhin/wtf
+cd $GOPATH/src/github.com/andrewzolotukhin/wtf
make install
make run
```
@@ -23,7 +23,7 @@ and that should probably do it.
Grab the latest version from here:
```bash
-https://github.com/senorprogrammer/wtf/releases
+https://github.com/andrewzolotukhin/wtf/releases
```
expand it, and `cd` into the resulting directory. Then run:
diff --git a/_site/content/posts/modules/gcal.md b/_site/content/posts/modules/gcal.md
index ef6a70dd..57528fb9 100644
--- a/_site/content/posts/modules/gcal.md
+++ b/_site/content/posts/modules/gcal.md
@@ -9,7 +9,7 @@ Displays your upcoming Google calendar events.
**Not:** Setting up access to Google Calendars for Go is a bit unobvious. Check out Google's [Go Quickstart](https://developers.google.com/calendar/quickstart/go)
-first and if you have problems, then take a look at this [comment by WesleydeSouza](https://github.com/senorprogrammer/wtf/issues/83#issuecomment-393665229) which offers a slightly different approach.
+first and if you have problems, then take a look at this [comment by WesleydeSouza](https://github.com/andrewzolotukhin/wtf/issues/83#issuecomment-393665229) which offers a slightly different approach.
## Source Code
diff --git a/_site/content/posts/modules/git.md b/_site/content/posts/modules/git.md
index e0a6a1f2..d47a17fa 100644
--- a/_site/content/posts/modules/git.md
+++ b/_site/content/posts/modules/git.md
@@ -62,7 +62,7 @@ git:
width: 2
refreshInterval: 8
repositories:
- - "/Users/chris/go/src/github.com/senorprogrammer/wtf"
+ - "/Users/chris/go/src/github.com/andrewzolotukhin/wtf"
- "/Users/user/fakeapp"
```
diff --git a/_site/content/posts/modules/github.md b/_site/content/posts/modules/github.md
index 3cfee576..c0b93f4f 100644
--- a/_site/content/posts/modules/github.md
+++ b/_site/content/posts/modules/github.md
@@ -58,8 +58,8 @@ github:
refreshInterval: 300
repositories:
wesker-api: "UmbrellaCorp"
- wtf: "senorprogrammer"
- username: "senorprogrammer"
+ wtf: "andrewzolotukhin"
+ username: "andrewzolotukhin"
```
### Attributes
diff --git a/_site/content/posts/overview.md b/_site/content/posts/overview.md
index 126715d7..14745096 100644
--- a/_site/content/posts/overview.md
+++ b/_site/content/posts/overview.md
@@ -12,7 +12,7 @@ visible, but might check in on every now and then.
## Quick Start
-1. Download the stand-alone, compiled binary.
+1. Download the stand-alone, compiled binary.
2. Unzip the downloaded file.
3. From the command line, `cd` into the newly-created `/wtf` directory.
4. From the command line, run the app: `./wtf`
diff --git a/_site/themes/hyde-hyde/layouts/index.html b/_site/themes/hyde-hyde/layouts/index.html
index d6fed31f..88cef7ab 100644
--- a/_site/themes/hyde-hyde/layouts/index.html
+++ b/_site/themes/hyde-hyde/layouts/index.html
@@ -27,8 +27,8 @@
It even has weather. And clocks. And emoji.
- Download Latest
- Source on Github
+ Download Latest
+ Source on Github
Chat on Gitter
diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html
index 7d593f21..a1f9fc61 100644
--- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html
+++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html
@@ -17,7 +17,7 @@
-
+
diff --git a/bamboohr/item.go b/bamboohr/item.go
index cc18590b..e7533e5c 100644
--- a/bamboohr/item.go
+++ b/bamboohr/item.go
@@ -4,7 +4,7 @@ import (
"fmt"
//"time"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
type Item struct {
diff --git a/bamboohr/widget.go b/bamboohr/widget.go
index 1e9eb751..c83f9d76 100644
--- a/bamboohr/widget.go
+++ b/bamboohr/widget.go
@@ -3,8 +3,8 @@ package bamboohr
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/bargraph/widget.go b/bargraph/widget.go
index 0e798952..399ce415 100644
--- a/bargraph/widget.go
+++ b/bargraph/widget.go
@@ -8,8 +8,8 @@ import (
"math/rand"
"time"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/blockfolio/widget.go b/blockfolio/widget.go
index 968cd7f1..7594366f 100644
--- a/blockfolio/widget.go
+++ b/blockfolio/widget.go
@@ -9,7 +9,7 @@ import (
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/cfg/config_files.go b/cfg/config_files.go
index 85e848e8..b571ad04 100644
--- a/cfg/config_files.go
+++ b/cfg/config_files.go
@@ -5,8 +5,8 @@ import (
"io/ioutil"
"os"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
func ConfigDir() (string, error) {
@@ -64,7 +64,7 @@ func LoadConfigFile(filePath string) *config.Config {
cfg, err := config.ParseYamlFile(absPath)
if err != nil {
- fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.wtf\033[0m directory.\n See \033[1;34mhttps://github.com/senorprogrammer/wtf\033[0m for details.\n")
+ fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.wtf\033[0m directory.\n See \033[1;34mhttps://github.com/andrewzolotukhin/wtf\033[0m for details.\n")
fmt.Printf(" %s\n", err.Error())
os.Exit(1)
}
diff --git a/clocks/clock.go b/clocks/clock.go
index fc4965fc..6d0e9615 100644
--- a/clocks/clock.go
+++ b/clocks/clock.go
@@ -3,7 +3,7 @@ package clocks
import (
"time"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
type Clock struct {
diff --git a/clocks/display.go b/clocks/display.go
index 6cc7d60f..4fcd425d 100644
--- a/clocks/display.go
+++ b/clocks/display.go
@@ -3,7 +3,7 @@ package clocks
import (
"fmt"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
func (widget *Widget) display(clocks []Clock) {
diff --git a/clocks/widget.go b/clocks/widget.go
index d6d6ee2a..1134ac71 100644
--- a/clocks/widget.go
+++ b/clocks/widget.go
@@ -3,8 +3,8 @@ package clocks
import (
"time"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/cmdrunner/widget.go b/cmdrunner/widget.go
index 0708527e..0a0e0bf6 100644
--- a/cmdrunner/widget.go
+++ b/cmdrunner/widget.go
@@ -5,8 +5,8 @@ import (
"os/exec"
"strings"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/cryptoexchanges/bittrex/widget.go b/cryptoexchanges/bittrex/widget.go
index 7bbf1003..5fa6e3d0 100644
--- a/cryptoexchanges/bittrex/widget.go
+++ b/cryptoexchanges/bittrex/widget.go
@@ -7,8 +7,8 @@ import (
"net/http"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/cryptoexchanges/cryptolive/widget.go b/cryptoexchanges/cryptolive/widget.go
index daaefa0e..a6f3aa59 100644
--- a/cryptoexchanges/cryptolive/widget.go
+++ b/cryptoexchanges/cryptolive/widget.go
@@ -6,8 +6,8 @@ import (
"net/http"
"time"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/docs/404.html b/docs/404.html
index 262aef29..31fc242c 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/categories/index.html b/docs/categories/index.html
index 8803ffb8..9766807a 100644
--- a/docs/categories/index.html
+++ b/docs/categories/index.html
@@ -60,7 +60,7 @@
-
+
diff --git a/docs/index.html b/docs/index.html
index fb5764ed..ed0f6d73 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -59,7 +59,7 @@
-
+
@@ -119,8 +119,8 @@
It even has weather. And clocks. And emoji.
- Download Latest
- Source on Github
+ Download Latest
+ Source on Github
Chat on Gitter
diff --git a/docs/index.xml b/docs/index.xml
index 28d48bd1..1f3a63f5 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -122,9 +122,9 @@ Quick Start Download the stand-alone, compiled binary. Unzip the downloaded fil
https://wtfutil.com/posts/installation/
There are two ways to install WTF:
From Source Get this repo and install the dependencies:
-go get -u github.com/senorprogrammer/wtf cd $GOPATH/src/github.com/senorprogrammer/wtf make install make run and that should probably do it.
+go get -u github.com/andrewzolotukhin/wtf cd $GOPATH/src/github.com/andrewzolotukhin/wtf make install make run and that should probably do it.
As a Binary Grab the latest version from here:
-https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run:
+https://github.com/andrewzolotukhin/wtf/releases expand it, and cd into the resulting directory. Then run:
./wtf and that should also do it.
diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html
index bd308fdf..d8fd2e1a 100644
--- a/docs/posts/configuration/attributes/index.html
+++ b/docs/posts/configuration/attributes/index.html
@@ -58,7 +58,7 @@
-
+
@@ -114,7 +114,7 @@
The following top-level attributes are configurable in config.yml
.
-See this example config file for more details.
+See this example config file for more details.
wtf:
colors:
background: "red"
diff --git a/docs/posts/configuration/index.html b/docs/posts/configuration/index.html
index 067aab24..bed8adf4 100644
--- a/docs/posts/configuration/index.html
+++ b/docs/posts/configuration/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/configuration/iterm2/index.html b/docs/posts/configuration/iterm2/index.html
index ba679394..0dc9de92 100644
--- a/docs/posts/configuration/iterm2/index.html
+++ b/docs/posts/configuration/iterm2/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/glossary/index.html b/docs/posts/glossary/index.html
index b88135ae..960fbca6 100644
--- a/docs/posts/glossary/index.html
+++ b/docs/posts/glossary/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/index.html b/docs/posts/index.html
index 120d52e0..0729d03d 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -60,7 +60,7 @@
-
+
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index 71eef75b..d328d821 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -122,9 +122,9 @@ Quick Start Download the stand-alone, compiled binary. Unzip the downloaded fil
https://wtfutil.com/posts/installation/
There are two ways to install WTF:
From Source Get this repo and install the dependencies:
-go get -u github.com/senorprogrammer/wtf cd $GOPATH/src/github.com/senorprogrammer/wtf make install make run and that should probably do it.
+go get -u github.com/andrewzolotukhin/wtf cd $GOPATH/src/github.com/andrewzolotukhin/wtf make install make run and that should probably do it.
As a Binary Grab the latest version from here:
-https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run:
+https://github.com/andrewzolotukhin/wtf/releases expand it, and cd into the resulting directory. Then run:
./wtf and that should also do it.
diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html
index 57c8acd7..3fdd42f3 100644
--- a/docs/posts/installation/index.html
+++ b/docs/posts/installation/index.html
@@ -58,7 +58,7 @@
-
+
@@ -118,8 +118,8 @@
From Source
Get this repo and install the dependencies:
-go get -u github.com/senorprogrammer/wtf
-cd $GOPATH/src/github.com/senorprogrammer/wtf
+go get -u github.com/andrewzolotukhin/wtf
+cd $GOPATH/src/github.com/andrewzolotukhin/wtf
make install
make run
and that should probably do it.
@@ -127,7 +127,7 @@ make run
As a Binary
Grab the latest version from here:
-https://github.com/senorprogrammer/wtf/releases
+https://github.com/andrewzolotukhin/wtf/releases
expand it, and cd
into the resulting directory. Then run:
and that should also do it.
diff --git a/docs/posts/modules/bamboohr/index.html b/docs/posts/modules/bamboohr/index.html
index e3b3ac7c..cdf207c3 100644
--- a/docs/posts/modules/bamboohr/index.html
+++ b/docs/posts/modules/bamboohr/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/bittrex/index.html b/docs/posts/modules/bittrex/index.html
index 8ab9753c..ebe5ffd2 100644
--- a/docs/posts/modules/bittrex/index.html
+++ b/docs/posts/modules/bittrex/index.html
@@ -72,7 +72,7 @@
iTerm2
diff --git a/docs/posts/modules/clocks/index.html b/docs/posts/modules/clocks/index.html
index 71a519c8..e2814986 100644
--- a/docs/posts/modules/clocks/index.html
+++ b/docs/posts/modules/clocks/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/cmdrunner/index.html b/docs/posts/modules/cmdrunner/index.html
index edca5f69..2ff80736 100644
--- a/docs/posts/modules/cmdrunner/index.html
+++ b/docs/posts/modules/cmdrunner/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/cryptocurrencies/bittrex/index.html b/docs/posts/modules/cryptocurrencies/bittrex/index.html
index 18730b2b..01975238 100644
--- a/docs/posts/modules/cryptocurrencies/bittrex/index.html
+++ b/docs/posts/modules/cryptocurrencies/bittrex/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/cryptocurrencies/cryptolive/index.html b/docs/posts/modules/cryptocurrencies/cryptolive/index.html
index f84dea13..3f55416f 100644
--- a/docs/posts/modules/cryptocurrencies/cryptolive/index.html
+++ b/docs/posts/modules/cryptocurrencies/cryptolive/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/cryptolive/index.html b/docs/posts/modules/cryptolive/index.html
index 63395a42..b4bfaccb 100644
--- a/docs/posts/modules/cryptolive/index.html
+++ b/docs/posts/modules/cryptolive/index.html
@@ -72,7 +72,7 @@
iTerm2
diff --git a/docs/posts/modules/gcal/index.html b/docs/posts/modules/gcal/index.html
index fa6de93d..d459e933 100644
--- a/docs/posts/modules/gcal/index.html
+++ b/docs/posts/modules/gcal/index.html
@@ -58,7 +58,7 @@
-
+
@@ -118,7 +118,7 @@

Not: Setting up access to Google Calendars for Go is a bit unobvious. Check out Google’s Go Quickstart
-first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
+first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
Source Code
diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html
index 0ab526af..9eedd440 100644
--- a/docs/posts/modules/git/index.html
+++ b/docs/posts/modules/git/index.html
@@ -58,7 +58,7 @@
-
+
@@ -165,7 +165,7 @@ commit, and their status.
width: 2
refreshInterval: 8
repositories:
- - "/Users/chris/go/src/github.com/senorprogrammer/wtf"
+ - "/Users/chris/go/src/github.com/andrewzolotukhin/wtf"
- "/Users/user/fakeapp"
Attributes
diff --git a/docs/posts/modules/github/index.html b/docs/posts/modules/github/index.html
index 55afa1e3..47d0d7d2 100644
--- a/docs/posts/modules/github/index.html
+++ b/docs/posts/modules/github/index.html
@@ -58,7 +58,7 @@
-
+
@@ -160,8 +160,8 @@
refreshInterval: 300
repositories:
wesker-api: "UmbrellaCorp"
- wtf: "senorprogrammer"
- username: "senorprogrammer"
+ wtf: "andrewzolotukhin"
+ username: "andrewzolotukhin"
Attributes
enabled
diff --git a/docs/posts/modules/index.html b/docs/posts/modules/index.html
index 5ffb2199..2dee71d0 100644
--- a/docs/posts/modules/index.html
+++ b/docs/posts/modules/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/ipinfo/index.html b/docs/posts/modules/ipinfo/index.html
index 5f3994cb..5db5c836 100644
--- a/docs/posts/modules/ipinfo/index.html
+++ b/docs/posts/modules/ipinfo/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/jira/index.html b/docs/posts/modules/jira/index.html
index 258cb919..52287193 100644
--- a/docs/posts/modules/jira/index.html
+++ b/docs/posts/modules/jira/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/newrelic/index.html b/docs/posts/modules/newrelic/index.html
index db3a032b..1e715c30 100644
--- a/docs/posts/modules/newrelic/index.html
+++ b/docs/posts/modules/newrelic/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/opsgenie/index.html b/docs/posts/modules/opsgenie/index.html
index ff57d7cb..24468b0e 100644
--- a/docs/posts/modules/opsgenie/index.html
+++ b/docs/posts/modules/opsgenie/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/power/index.html b/docs/posts/modules/power/index.html
index e42e346c..373e58b5 100644
--- a/docs/posts/modules/power/index.html
+++ b/docs/posts/modules/power/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/prettyweather/index.html b/docs/posts/modules/prettyweather/index.html
index a0c4d36b..58c11182 100644
--- a/docs/posts/modules/prettyweather/index.html
+++ b/docs/posts/modules/prettyweather/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/security/index.html b/docs/posts/modules/security/index.html
index 98c131b0..da556e57 100644
--- a/docs/posts/modules/security/index.html
+++ b/docs/posts/modules/security/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/textfile/index.html b/docs/posts/modules/textfile/index.html
index a8e53ab4..c0d5dd98 100644
--- a/docs/posts/modules/textfile/index.html
+++ b/docs/posts/modules/textfile/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/todo/index.html b/docs/posts/modules/todo/index.html
index 6c105daa..44c93f04 100644
--- a/docs/posts/modules/todo/index.html
+++ b/docs/posts/modules/todo/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/modules/weather/index.html b/docs/posts/modules/weather/index.html
index 7021ceb2..5dc1508c 100644
--- a/docs/posts/modules/weather/index.html
+++ b/docs/posts/modules/weather/index.html
@@ -58,7 +58,7 @@
-
+
diff --git a/docs/posts/overview/index.html b/docs/posts/overview/index.html
index a3d75261..3c57251d 100644
--- a/docs/posts/overview/index.html
+++ b/docs/posts/overview/index.html
@@ -58,7 +58,7 @@
-
+
@@ -122,7 +122,7 @@ visible, but might check in on every now and then.
Quick Start
-- Download the stand-alone, compiled binary.
+- Download the stand-alone, compiled binary.
- Unzip the downloaded file.
- From the command line,
cd
into the newly-created /wtf
directory.
- From the command line, run the app:
./wtf
diff --git a/docs/tags/index.html b/docs/tags/index.html
index 9681fff7..8ed850a0 100644
--- a/docs/tags/index.html
+++ b/docs/tags/index.html
@@ -60,7 +60,7 @@
-
+
diff --git a/gcal/client.go b/gcal/client.go
index de655620..698fe3b8 100644
--- a/gcal/client.go
+++ b/gcal/client.go
@@ -18,7 +18,7 @@ import (
"path/filepath"
"time"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/api/calendar/v3"
diff --git a/gcal/widget.go b/gcal/widget.go
index 487c8daa..6cc3a972 100644
--- a/gcal/widget.go
+++ b/gcal/widget.go
@@ -6,8 +6,8 @@ import (
"strings"
"time"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
"google.golang.org/api/calendar/v3"
)
diff --git a/git/display.go b/git/display.go
index 8140615b..27d84893 100644
--- a/git/display.go
+++ b/git/display.go
@@ -5,7 +5,7 @@ import (
"strings"
"unicode/utf8"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
func (widget *Widget) display() {
diff --git a/git/git_repo.go b/git/git_repo.go
index 5d3ba090..5852eeb6 100644
--- a/git/git_repo.go
+++ b/git/git_repo.go
@@ -5,7 +5,7 @@ import (
"os/exec"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
type GitRepo struct {
diff --git a/git/widget.go b/git/widget.go
index 894d71b5..f3bf8e6a 100644
--- a/git/widget.go
+++ b/git/widget.go
@@ -1,10 +1,10 @@
package git
import (
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/github/display.go b/github/display.go
index e9346367..d61c2665 100644
--- a/github/display.go
+++ b/github/display.go
@@ -3,7 +3,7 @@ package github
import (
"fmt"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
func (widget *Widget) display() {
diff --git a/github/widget.go b/github/widget.go
index 717f1bab..5718827a 100644
--- a/github/widget.go
+++ b/github/widget.go
@@ -1,10 +1,10 @@
package github
import (
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/gspreadsheets/client.go b/gspreadsheets/client.go
index 1cf16321..7d48a2a4 100644
--- a/gspreadsheets/client.go
+++ b/gspreadsheets/client.go
@@ -18,7 +18,7 @@ import (
"path/filepath"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
sheets "google.golang.org/api/sheets/v4"
diff --git a/gspreadsheets/widget.go b/gspreadsheets/widget.go
index 680869cf..de462ffe 100644
--- a/gspreadsheets/widget.go
+++ b/gspreadsheets/widget.go
@@ -3,8 +3,8 @@ package gspreadsheets
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
sheets "google.golang.org/api/sheets/v4"
)
diff --git a/help/help.go b/help/help.go
index cf79c930..a2cf1e79 100644
--- a/help/help.go
+++ b/help/help.go
@@ -4,11 +4,11 @@ import (
"fmt"
"os"
- "github.com/senorprogrammer/wtf/git"
- "github.com/senorprogrammer/wtf/github"
- "github.com/senorprogrammer/wtf/textfile"
- "github.com/senorprogrammer/wtf/todo"
- "github.com/senorprogrammer/wtf/weather"
+ "github.com/andrewzolotukhin/wtf/git"
+ "github.com/andrewzolotukhin/wtf/github"
+ "github.com/andrewzolotukhin/wtf/textfile"
+ "github.com/andrewzolotukhin/wtf/todo"
+ "github.com/andrewzolotukhin/wtf/weather"
)
func DisplayModuleInfo(moduleName string) {
diff --git a/ipapi/widget.go b/ipapi/widget.go
index d65f2456..f8d36559 100644
--- a/ipapi/widget.go
+++ b/ipapi/widget.go
@@ -9,8 +9,8 @@ import (
"bytes"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/ipinfo/widget.go b/ipinfo/widget.go
index 62db1732..c445ecae 100644
--- a/ipinfo/widget.go
+++ b/ipinfo/widget.go
@@ -9,7 +9,7 @@ import (
"bytes"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/jira/widget.go b/jira/widget.go
index 6ca9670e..35bced7d 100644
--- a/jira/widget.go
+++ b/jira/widget.go
@@ -3,8 +3,8 @@ package jira
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/newrelic/widget.go b/newrelic/widget.go
index ca16966f..feb89768 100644
--- a/newrelic/widget.go
+++ b/newrelic/widget.go
@@ -3,8 +3,8 @@ package newrelic
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
nr "github.com/yfronto/newrelic"
)
diff --git a/opsgenie/widget.go b/opsgenie/widget.go
index 314b832a..dbb9eed2 100644
--- a/opsgenie/widget.go
+++ b/opsgenie/widget.go
@@ -5,7 +5,7 @@ import (
"strings"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/power/battery.go b/power/battery.go
index 08b7fdfe..96c57262 100644
--- a/power/battery.go
+++ b/power/battery.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
const TimeRegExp = "^(?:\\d|[01]\\d|2[0-3]):[0-5]\\d"
diff --git a/power/battery_linux.go b/power/battery_linux.go
index 693d95b6..720c110d 100644
--- a/power/battery_linux.go
+++ b/power/battery_linux.go
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
var batteryState string
diff --git a/power/source.go b/power/source.go
index e6eff36c..f28e7c2f 100644
--- a/power/source.go
+++ b/power/source.go
@@ -7,7 +7,7 @@ import (
"regexp"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
const SingleQuotesRegExp = "'(.*)'"
diff --git a/power/widget.go b/power/widget.go
index d3d3a996..f323b8b4 100644
--- a/power/widget.go
+++ b/power/widget.go
@@ -3,8 +3,8 @@ package power
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/prettyweather/widget.go b/prettyweather/widget.go
index c0ef7596..4bae5c73 100644
--- a/prettyweather/widget.go
+++ b/prettyweather/widget.go
@@ -6,8 +6,8 @@ import (
"net/http"
"strings"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/security/dns.go b/security/dns.go
index 2408c2c1..5a458744 100644
--- a/security/dns.go
+++ b/security/dns.go
@@ -5,7 +5,7 @@ import (
"runtime"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
/* -------------------- Exported Functions -------------------- */
diff --git a/security/firewall.go b/security/firewall.go
index 6323b5e1..828c3bf0 100644
--- a/security/firewall.go
+++ b/security/firewall.go
@@ -5,7 +5,7 @@ import (
"runtime"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
const osxFirewallCmd = "/usr/libexec/ApplicationFirewall/socketfilterfw"
diff --git a/security/users.go b/security/users.go
index b8fe5164..77a41243 100644
--- a/security/users.go
+++ b/security/users.go
@@ -7,7 +7,7 @@ import (
"runtime"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
/* -------------------- Exported Functions -------------------- */
diff --git a/security/widget.go b/security/widget.go
index f5769b8e..231fec2e 100644
--- a/security/widget.go
+++ b/security/widget.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/security/wifi.go b/security/wifi.go
index 30b75767..b152a7ba 100644
--- a/security/wifi.go
+++ b/security/wifi.go
@@ -4,7 +4,7 @@ import (
"os/exec"
"runtime"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
// https://github.com/yelinaung/wifi-name/blob/master/wifi-name.go
diff --git a/status/widget.go b/status/widget.go
index 3bd71599..764a4a67 100644
--- a/status/widget.go
+++ b/status/widget.go
@@ -3,8 +3,8 @@ package status
import (
"fmt"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/system/system_info.go b/system/system_info.go
index 1582ebe7..eb8d5c2d 100644
--- a/system/system_info.go
+++ b/system/system_info.go
@@ -5,7 +5,7 @@ import (
"runtime"
"strings"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
type SystemInfo struct {
diff --git a/system/widget.go b/system/widget.go
index c13ed5ea..82b88da1 100644
--- a/system/widget.go
+++ b/system/widget.go
@@ -4,8 +4,8 @@ import (
"fmt"
"time"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/olebedev/config"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/textfile/widget.go b/textfile/widget.go
index 2bc3afe6..5aa5b426 100644
--- a/textfile/widget.go
+++ b/textfile/widget.go
@@ -7,7 +7,7 @@ import (
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
// Config is a pointer to the global config object
diff --git a/todo/display.go b/todo/display.go
index d25d20cb..ea20f873 100644
--- a/todo/display.go
+++ b/todo/display.go
@@ -3,7 +3,7 @@ package todo
import (
"fmt"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/wtf"
)
const checkWidth = 4
diff --git a/todo/widget.go b/todo/widget.go
index e06c007c..3ddc1004 100644
--- a/todo/widget.go
+++ b/todo/widget.go
@@ -7,8 +7,8 @@ import (
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/cfg"
- "github.com/senorprogrammer/wtf/wtf"
+ "github.com/andrewzolotukhin/wtf/cfg"
+ "github.com/andrewzolotukhin/wtf/wtf"
"gopkg.in/yaml.v2"
)
diff --git a/weather/display.go b/weather/display.go
index 9acd9e3d..b82bd241 100644
--- a/weather/display.go
+++ b/weather/display.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
+ "github.com/andrewzolotukhin/wtf/wtf"
owm "github.com/briandowns/openweathermap"
- "github.com/senorprogrammer/wtf/wtf"
)
func (widget *Widget) display() {
diff --git a/weather/widget.go b/weather/widget.go
index 8a1176cb..4e9ee015 100644
--- a/weather/widget.go
+++ b/weather/widget.go
@@ -3,11 +3,11 @@ package weather
import (
"os"
+ "github.com/andrewzolotukhin/wtf/wtf"
owm "github.com/briandowns/openweathermap"
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/wtf"
)
// Config is a pointer to the global config object.
diff --git a/wtf.go b/wtf.go
index bf8163c2..69ecfaa6 100644
--- a/wtf.go
+++ b/wtf.go
@@ -6,37 +6,37 @@ import (
"os"
"time"
+ "github.com/andrewzolotukhin/wtf/bamboohr"
+ "github.com/andrewzolotukhin/wtf/bargraph"
+ "github.com/andrewzolotukhin/wtf/blockfolio"
+ "github.com/andrewzolotukhin/wtf/cfg"
+ "github.com/andrewzolotukhin/wtf/clocks"
+ "github.com/andrewzolotukhin/wtf/cmdrunner"
+ "github.com/andrewzolotukhin/wtf/cryptoexchanges/bittrex"
+ "github.com/andrewzolotukhin/wtf/cryptoexchanges/cryptolive"
+ "github.com/andrewzolotukhin/wtf/gcal"
+ "github.com/andrewzolotukhin/wtf/git"
+ "github.com/andrewzolotukhin/wtf/github"
+ "github.com/andrewzolotukhin/wtf/gspreadsheets"
+ "github.com/andrewzolotukhin/wtf/help"
+ "github.com/andrewzolotukhin/wtf/ipapi"
+ "github.com/andrewzolotukhin/wtf/ipinfo"
+ "github.com/andrewzolotukhin/wtf/jira"
+ "github.com/andrewzolotukhin/wtf/newrelic"
+ "github.com/andrewzolotukhin/wtf/opsgenie"
+ "github.com/andrewzolotukhin/wtf/power"
+ "github.com/andrewzolotukhin/wtf/prettyweather"
+ "github.com/andrewzolotukhin/wtf/security"
+ "github.com/andrewzolotukhin/wtf/status"
+ "github.com/andrewzolotukhin/wtf/system"
+ "github.com/andrewzolotukhin/wtf/textfile"
+ "github.com/andrewzolotukhin/wtf/todo"
+ "github.com/andrewzolotukhin/wtf/weather"
+ "github.com/andrewzolotukhin/wtf/wtf"
"github.com/gdamore/tcell"
"github.com/olebedev/config"
"github.com/radovskyb/watcher"
"github.com/rivo/tview"
- "github.com/senorprogrammer/wtf/bamboohr"
- "github.com/senorprogrammer/wtf/bargraph"
- "github.com/senorprogrammer/wtf/blockfolio"
- "github.com/senorprogrammer/wtf/cfg"
- "github.com/senorprogrammer/wtf/clocks"
- "github.com/senorprogrammer/wtf/cmdrunner"
- "github.com/senorprogrammer/wtf/cryptoexchanges/bittrex"
- "github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive"
- "github.com/senorprogrammer/wtf/gcal"
- "github.com/senorprogrammer/wtf/git"
- "github.com/senorprogrammer/wtf/github"
- "github.com/senorprogrammer/wtf/gspreadsheets"
- "github.com/senorprogrammer/wtf/help"
- "github.com/senorprogrammer/wtf/ipapi"
- "github.com/senorprogrammer/wtf/ipinfo"
- "github.com/senorprogrammer/wtf/jira"
- "github.com/senorprogrammer/wtf/newrelic"
- "github.com/senorprogrammer/wtf/opsgenie"
- "github.com/senorprogrammer/wtf/power"
- "github.com/senorprogrammer/wtf/prettyweather"
- "github.com/senorprogrammer/wtf/security"
- "github.com/senorprogrammer/wtf/status"
- "github.com/senorprogrammer/wtf/system"
- "github.com/senorprogrammer/wtf/textfile"
- "github.com/senorprogrammer/wtf/todo"
- "github.com/senorprogrammer/wtf/weather"
- "github.com/senorprogrammer/wtf/wtf"
)
/* -------------------- Functions -------------------- */
diff --git a/wtf/config_files.go b/wtf/config_files.go
new file mode 100644
index 00000000..2e60351d
--- /dev/null
+++ b/wtf/config_files.go
@@ -0,0 +1,172 @@
+package wtf
+
+import (
+ "fmt"
+ "io/ioutil"
+ "os"
+
+ "github.com/olebedev/config"
+)
+
+func ConfigDir() (string, error) {
+ configDir, err := ExpandHomeDir("~/.wtf/")
+ if err != nil {
+ return "", err
+ }
+
+ return configDir, nil
+}
+
+// CreateConfigDir creates the .wtf directory in the user's home dir
+func CreateConfigDir() {
+ configDir, _ := ConfigDir()
+
+ if _, err := os.Stat(configDir); os.IsNotExist(err) {
+ err := os.Mkdir(configDir, os.ModePerm)
+ if err != nil {
+ panic(err)
+ }
+ }
+}
+
+// CreateFile creates the named file in the config directory, if it does not already exist.
+// If the file exists it does not recreate it.
+// If successful, eturns the absolute path to the file
+// If unsuccessful, returns an error
+func CreateFile(fileName string) (string, error) {
+ configDir, err := ConfigDir()
+ if err != nil {
+ return "", err
+ }
+
+ filePath := fmt.Sprintf("%s/%s", configDir, fileName)
+
+ // Check if the file already exists; if it does not, create it
+ _, err = os.Stat(filePath)
+ if err != nil {
+ if os.IsNotExist(err) {
+ _, err = os.Create(filePath)
+ if err != nil {
+ return "", err
+ }
+ } else {
+ return "", err
+ }
+ }
+
+ return filePath, nil
+}
+
+// LoadConfigFile loads the config.yml file to configure the app
+func LoadConfigFile(filePath string) *config.Config {
+ absPath, _ := ExpandHomeDir(filePath)
+
+ cfg, err := config.ParseYamlFile(absPath)
+ if err != nil {
+ fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.wtf\033[0m directory.\n See \033[1;34mhttps://github.com/andrewzolotukhin/wtf\033[0m for details.\n")
+ fmt.Printf(" %s\n", err.Error())
+ os.Exit(1)
+ }
+
+ return cfg
+}
+
+func ReadConfigFile(fileName string) (string, error) {
+ configDir, err := ConfigDir()
+ if err != nil {
+ return "", err
+ }
+
+ filePath := fmt.Sprintf("%s/%s", configDir, fileName)
+
+ fileData, err := ReadFileBytes(filePath)
+ if err != nil {
+ return "", err
+ }
+
+ return string(fileData), nil
+}
+
+// WriteConfigFile creates a simple config file in the config directory if
+// one does not already exist
+func WriteConfigFile() {
+ filePath, err := CreateFile("config.yml")
+ if err != nil {
+ panic(err)
+ }
+
+ // If the file is empty, write to it
+ file, err := os.Stat(filePath)
+
+ if file.Size() == 0 {
+ err = ioutil.WriteFile(filePath, []byte(simpleConfig), 0644)
+ if err != nil {
+ panic(err)
+ }
+ }
+}
+
+const simpleConfig = `wtf:
+ colors:
+ border:
+ focusable: darkslateblue
+ focused: orange
+ normal: gray
+ grid:
+ columns: [40, 40]
+ rows: [13, 13, 4]
+ refreshInterval: 1
+ mods:
+ clocks:
+ colors:
+ rows:
+ even: "lightblue"
+ odd: "white"
+ enabled: true
+ locations:
+ Avignon: "Europe/Paris"
+ Barcelona: "Europe/Madrid"
+ Dubai: "Asia/Dubai"
+ Vancouver: "America/Vancouver"
+ Toronto: "America/Toronto"
+ position:
+ top: 0
+ left: 0
+ height: 1
+ width: 1
+ refreshInterval: 15
+ sort: "alphabetical"
+ security:
+ enabled: true
+ position:
+ top: 1
+ left: 0
+ height: 1
+ width: 1
+ refreshInterval: 3600
+ status:
+ enabled: true
+ position:
+ top: 2
+ left: 0
+ height: 1
+ width: 2
+ refreshInterval: 1
+ system:
+ enabled: true
+ position:
+ top: 0
+ left: 1
+ height: 1
+ width: 1
+ refreshInterval: 3600
+ textfile:
+ enabled: true
+ filePath: "~/.wtf/config.yml"
+ position:
+ top: 1
+ left: 1
+ height: 1
+ width: 1
+ refreshInterval: 30
+`
diff --git a/wtf_tests/position_test.go b/wtf_tests/position_test.go
index 370a3373..7dd5e8c5 100644
--- a/wtf_tests/position_test.go
+++ b/wtf_tests/position_test.go
@@ -3,7 +3,7 @@ package wtf_tests
import (
"testing"
- . "github.com/senorprogrammer/wtf/wtf"
+ . "github.com/andrewzolotukhin/wtf/wtf"
)
func TestPosition(t *testing.T) {
diff --git a/wtf_tests/utils_test.go b/wtf_tests/utils_test.go
index a069301c..8f020ec1 100644
--- a/wtf_tests/utils_test.go
+++ b/wtf_tests/utils_test.go
@@ -3,8 +3,8 @@ package wtf_tests
import (
"testing"
+ . "github.com/andrewzolotukhin/wtf/wtf"
"github.com/go-test/deep"
- . "github.com/senorprogrammer/wtf/wtf"
)
/* -------------------- Exclude() -------------------- */