From 77823419b5a48bc2d0e4eb26626bc02b972020c8 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 10 Jun 2018 00:16:40 +0300 Subject: [PATCH] Temporary changed username. --- .travis.yml | 10 ++-- README.md | 10 ++-- _sample_configs/complex_config.yml | 6 +-- .../content/posts/configuration/attributes.md | 2 +- _site/content/posts/installation.md | 6 +-- _site/content/posts/modules/gcal.md | 2 +- _site/content/posts/modules/git.md | 2 +- _site/content/posts/modules/github.md | 4 +- _site/content/posts/overview.md | 2 +- _site/themes/hyde-hyde/layouts/index.html | 4 +- .../hyde-hyde/layouts/partials/sidebar.html | 2 +- bamboohr/item.go | 2 +- bamboohr/widget.go | 2 +- bargraph/widget.go | 2 +- clocks/clock.go | 2 +- clocks/display.go | 2 +- clocks/widget.go | 2 +- cmdrunner/widget.go | 2 +- cryptoexchanges/bittrex/widget.go | 2 +- cryptoexchanges/cryptolive/widget.go | 2 +- docs/404.html | 2 +- docs/categories/index.html | 2 +- docs/index.html | 6 +-- docs/index.xml | 4 +- .../posts/configuration/attributes/index.html | 4 +- docs/posts/configuration/index.html | 2 +- docs/posts/configuration/iterm2/index.html | 2 +- docs/posts/glossary/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/index.xml | 4 +- docs/posts/installation/index.html | 8 ++-- docs/posts/modules/bamboohr/index.html | 2 +- docs/posts/modules/bittrex/index.html | 2 +- docs/posts/modules/clocks/index.html | 2 +- docs/posts/modules/cmdrunner/index.html | 2 +- .../cryptocurrencies/bittrex/index.html | 2 +- .../cryptocurrencies/cryptolive/index.html | 2 +- docs/posts/modules/cryptolive/index.html | 2 +- docs/posts/modules/gcal/index.html | 4 +- docs/posts/modules/git/index.html | 4 +- docs/posts/modules/github/index.html | 6 +-- docs/posts/modules/index.html | 2 +- docs/posts/modules/ipinfo/index.html | 2 +- docs/posts/modules/jira/index.html | 2 +- docs/posts/modules/newrelic/index.html | 2 +- docs/posts/modules/opsgenie/index.html | 2 +- docs/posts/modules/power/index.html | 2 +- docs/posts/modules/prettyweather/index.html | 2 +- docs/posts/modules/security/index.html | 2 +- docs/posts/modules/textfile/index.html | 2 +- docs/posts/modules/todo/index.html | 2 +- docs/posts/modules/weather/index.html | 2 +- docs/posts/overview/index.html | 4 +- docs/tags/index.html | 2 +- gcal/client.go | 2 +- gcal/widget.go | 2 +- git/display.go | 2 +- git/git_repo.go | 2 +- git/widget.go | 2 +- github/display.go | 2 +- github/widget.go | 2 +- gspreadsheets/client.go | 2 +- gspreadsheets/widget.go | 2 +- help/help.go | 10 ++-- ipinfo/widget.go | 2 +- jira/widget.go | 2 +- newrelic/widget.go | 2 +- opsgenie/widget.go | 2 +- power/battery.go | 2 +- power/battery_linux.go | 2 +- power/source.go | 2 +- power/widget.go | 2 +- prettyweather/widget.go | 2 +- security/dns.go | 2 +- security/firewall.go | 2 +- security/users.go | 2 +- security/widget.go | 2 +- security/wifi.go | 2 +- status/widget.go | 2 +- system/system_info.go | 2 +- system/widget.go | 2 +- textfile/widget.go | 2 +- todo/display.go | 2 +- todo/widget.go | 2 +- weather/display.go | 2 +- weather/widget.go | 2 +- wtf.go | 48 +++++++++---------- wtf/config_files.go | 2 +- wtf_tests/position_test.go | 2 +- wtf_tests/utils_test.go | 2 +- 90 files changed, 144 insertions(+), 144 deletions(-) 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 705c2be5..7d5fb882 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- +

@@ -21,13 +21,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 @@ -70,7 +70,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 e07aa209..48c68c36 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. gcal screenshot **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 888abc24..27a35c8f 100644 --- a/_site/themes/hyde-hyde/layouts/index.html +++ b/_site/themes/hyde-hyde/layouts/index.html @@ -27,9 +27,9 @@ It even has weather. And clocks. And emoji.

- Download Latest + Download Latest - On Github + On Github

diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index fe5c83e2..e5e1709d 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -17,7 +17,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 ec410d85..d00dc4ed 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 dcb4d6c6..3756a2a5 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 9a4f7187..e4eb732f 100644 --- a/docs/posts/glossary/index.html +++ b/docs/posts/glossary/index.html @@ -58,7 +58,7 @@ - +
    diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 2dc5ba0f..3cba90d2 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -123,9 +123,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 1237a416..046714fa 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:

    ./wtf

    and that should also do it.

    diff --git a/docs/posts/modules/bamboohr/index.html b/docs/posts/modules/bamboohr/index.html index 240a8181..2c88de07 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 04333353..cbe3f548 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 1ec0afca..5045938e 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 f9f033eb..bd942540 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 832af988..e4d955ce 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 7e6f4a4b..f3dc25a2 100644 --- a/docs/posts/modules/gcal/index.html +++ b/docs/posts/modules/gcal/index.html @@ -58,7 +58,7 @@ - +
    @@ -118,7 +118,7 @@

    gcal screenshot

    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

    wtf/gcal/
    diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html index e958c4f1..859d2e97 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 eb556adb..edd073db 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 fad43ff2..c38fde22 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 f3cd4865..b9f5de42 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 4a60fb7a..e7fa004e 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 eac8a8db..2308dd5f 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 dd2eef1a..01b445f8 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 7cbb1d72..0f2680a7 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 d6bd7e91..4643e031 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 04437186..fb3d84f0 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 c18d9229..dcc9451e 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 9ffa4bc6..e268ec38 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 f22a2a21..ec437990 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 beef7287..bb073f93 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

      -
    1. Download the stand-alone, compiled binary.
    2. +
    3. Download the stand-alone, compiled binary.
    4. Unzip the downloaded file.
    5. From the command line, cd into the newly-created /wtf directory.
    6. From the command line, run the app: ./wtf
    7. diff --git a/docs/tags/index.html b/docs/tags/index.html index 68425b68..8fe879ec 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..9a9b5a59 100644 --- a/gcal/widget.go +++ b/gcal/widget.go @@ -7,7 +7,7 @@ import ( "time" "github.com/olebedev/config" - "github.com/senorprogrammer/wtf/wtf" + "github.com/andrewzolotukhin/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 89aad5a2..762f6833 100644 --- a/git/widget.go +++ b/git/widget.go @@ -4,7 +4,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/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..b6f22662 100644 --- a/github/widget.go +++ b/github/widget.go @@ -4,7 +4,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/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 e754ce74..1a4bd220 100644 --- a/gspreadsheets/widget.go +++ b/gspreadsheets/widget.go @@ -3,7 +3,7 @@ package gspreadsheets import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" + "github.com/andrewzolotukhin/wtf/wtf" "github.com/olebedev/config" 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/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..2709eff2 100644 --- a/jira/widget.go +++ b/jira/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "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/newrelic/widget.go b/newrelic/widget.go index ca16966f..b765758b 100644 --- a/newrelic/widget.go +++ b/newrelic/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/olebedev/config" - "github.com/senorprogrammer/wtf/wtf" + "github.com/andrewzolotukhin/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..c7be5b01 100644 --- a/power/widget.go +++ b/power/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "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/prettyweather/widget.go b/prettyweather/widget.go index c0ef7596..4e579b2c 100644 --- a/prettyweather/widget.go +++ b/prettyweather/widget.go @@ -7,7 +7,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/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..cdcc7ac1 100644 --- a/security/widget.go +++ b/security/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/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..67bb6977 100644 --- a/status/widget.go +++ b/status/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "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/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..530e8400 100644 --- a/system/widget.go +++ b/system/widget.go @@ -5,7 +5,7 @@ import ( "time" "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/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 00dcb984..93014f29 100644 --- a/todo/widget.go +++ b/todo/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" "gopkg.in/yaml.v2" ) diff --git a/weather/display.go b/weather/display.go index 1b237789..84711640 100644 --- a/weather/display.go +++ b/weather/display.go @@ -5,7 +5,7 @@ import ( "strings" owm "github.com/briandowns/openweathermap" - "github.com/senorprogrammer/wtf/wtf" + "github.com/andrewzolotukhin/wtf/wtf" ) func (widget *Widget) display() { diff --git a/weather/widget.go b/weather/widget.go index 992c7207..dce962ee 100644 --- a/weather/widget.go +++ b/weather/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/wtf.go b/wtf.go index 22659cd7..71443c45 100644 --- a/wtf.go +++ b/wtf.go @@ -10,30 +10,30 @@ import ( "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/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/gspreadsheets" - "github.com/senorprogrammer/wtf/git" - "github.com/senorprogrammer/wtf/github" - "github.com/senorprogrammer/wtf/help" - "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" + "github.com/andrewzolotukhin/wtf/bamboohr" + "github.com/andrewzolotukhin/wtf/bargraph" + "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/gspreadsheets" + "github.com/andrewzolotukhin/wtf/git" + "github.com/andrewzolotukhin/wtf/github" + "github.com/andrewzolotukhin/wtf/help" + "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" ) /* -------------------- Functions -------------------- */ diff --git a/wtf/config_files.go b/wtf/config_files.go index ff57654d..2e60351d 100644 --- a/wtf/config_files.go +++ b/wtf/config_files.go @@ -63,7 +63,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/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..2d347150 100644 --- a/wtf_tests/utils_test.go +++ b/wtf_tests/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/go-test/deep" - . "github.com/senorprogrammer/wtf/wtf" + . "github.com/andrewzolotukhin/wtf/wtf" ) /* -------------------- Exclude() -------------------- */