From 6288c701566a9b3b2677788937f2642603822b82 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 10 Jun 2018 02:50:16 +0300 Subject: [PATCH] Returned names of repo --- .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 | 50 +++++++++---------- wtf/config_files.go | 2 +- wtf_tests/position_test.go | 2 +- wtf_tests/utils_test.go | 2 +- 90 files changed, 145 insertions(+), 145 deletions(-) diff --git a/.travis.yml b/.travis.yml index c90dfc89..b20b9c4a 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/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 + - 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 -script: go get ./... && go get github.com/go-test/deep && go test -v github.com/andrewzolotukhin/wtf/wtf_tests +script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests diff --git a/README.md b/README.md index 7d5fb882..705c2be5 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/andrewzolotukhin/wtf -cd $GOPATH/src/github.com/andrewzolotukhin/wtf +go get -u github.com/senorprogrammer/wtf +cd $GOPATH/src/github.com/senorprogrammer/wtf make install make run ``` -Or [download the latest binary](https://github.com/andrewzolotukhin/wtf/releases). +Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases). ## Support @@ -70,7 +70,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc ## Authors -* Chris Cummer, [andrewzolotukhin](https://github.com/andrewzolotukhin) +* Chris Cummer, [senorprogrammer](https://github.com/senorprogrammer) ## License diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml index 48c68c36..e07aa209 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/andrewzolotukhin/wtf" + - "/Users/chris/go/src/github.com/senorprogrammer/wtf" github: enabled: true position: @@ -119,8 +119,8 @@ wtf: refreshInterval: 300 repositories: repo-name: "owner id" - wtf: "andrewzolotukhin" - username: "andrewzolotukhin" + wtf: "senorprogrammer" + username: "senorprogrammer" jira: colors: rows: diff --git a/_site/content/posts/configuration/attributes.md b/_site/content/posts/configuration/attributes.md index 0339bcdf..2850875e 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 51c230cc..dcc4aafa 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/andrewzolotukhin/wtf -cd $GOPATH/src/github.com/andrewzolotukhin/wtf +go get -u github.com/senorprogrammer/wtf +cd $GOPATH/src/github.com/senorprogrammer/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/andrewzolotukhin/wtf/releases +https://github.com/senorprogrammer/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 57528fb9..ef6a70dd 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/andrewzolotukhin/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/senorprogrammer/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 d47a17fa..e0a6a1f2 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/andrewzolotukhin/wtf" + - "/Users/chris/go/src/github.com/senorprogrammer/wtf" - "/Users/user/fakeapp" ``` diff --git a/_site/content/posts/modules/github.md b/_site/content/posts/modules/github.md index c0b93f4f..3cfee576 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: "andrewzolotukhin" - username: "andrewzolotukhin" + wtf: "senorprogrammer" + username: "senorprogrammer" ``` ### Attributes diff --git a/_site/content/posts/overview.md b/_site/content/posts/overview.md index 14745096..126715d7 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 27a35c8f..888abc24 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 e5e1709d..fe5c83e2 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 d00dc4ed..ec410d85 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 3756a2a5..dcb4d6c6 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 e4eb732f..9a4f7187 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 3cba90d2..2dc5ba0f 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/andrewzolotukhin/wtf cd $GOPATH/src/github.com/andrewzolotukhin/wtf make install make run and that should probably do it. +go get -u github.com/senorprogrammer/wtf cd $GOPATH/src/github.com/senorprogrammer/wtf make install make run and that should probably do it. As a Binary Grab the latest version from here: -https://github.com/andrewzolotukhin/wtf/releases expand it, and cd into the resulting directory. Then run: +https://github.com/senorprogrammer/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 046714fa..1237a416 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/andrewzolotukhin/wtf
    -cd $GOPATH/src/github.com/andrewzolotukhin/wtf
    +
    go get -u github.com/senorprogrammer/wtf
    +cd $GOPATH/src/github.com/senorprogrammer/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/andrewzolotukhin/wtf/releases
    +
    https://github.com/senorprogrammer/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 2c88de07..240a8181 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 ebe5ffd2..8ab9753c 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 cbe3f548..04333353 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 5045938e..1ec0afca 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 bd942540..f9f033eb 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 e4d955ce..832af988 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 b4bfaccb..63395a42 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 f3dc25a2..7e6f4a4b 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 859d2e97..e958c4f1 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/andrewzolotukhin/wtf" + - "/Users/chris/go/src/github.com/senorprogrammer/wtf" - "/Users/user/fakeapp"

    Attributes

    diff --git a/docs/posts/modules/github/index.html b/docs/posts/modules/github/index.html index edd073db..eb556adb 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: "andrewzolotukhin" - username: "andrewzolotukhin" + wtf: "senorprogrammer" + username: "senorprogrammer"

    Attributes

    enabled
    diff --git a/docs/posts/modules/index.html b/docs/posts/modules/index.html index c38fde22..fad43ff2 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 b9f5de42..f3cd4865 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 e7fa004e..4a60fb7a 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 2308dd5f..eac8a8db 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 01b445f8..dd2eef1a 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 0f2680a7..7cbb1d72 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 4643e031..d6bd7e91 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 fb3d84f0..04437186 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 dcc9451e..c18d9229 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 e268ec38..9ffa4bc6 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 ec437990..f22a2a21 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 bb073f93..beef7287 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 8fe879ec..68425b68 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 698fe3b8..de655620 100644 --- a/gcal/client.go +++ b/gcal/client.go @@ -18,7 +18,7 @@ import ( "path/filepath" "time" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/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 9a9b5a59..487c8daa 100644 --- a/gcal/widget.go +++ b/gcal/widget.go @@ -7,7 +7,7 @@ import ( "time" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" "google.golang.org/api/calendar/v3" ) diff --git a/git/display.go b/git/display.go index 27d84893..8140615b 100644 --- a/git/display.go +++ b/git/display.go @@ -5,7 +5,7 @@ import ( "strings" "unicode/utf8" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) func (widget *Widget) display() { diff --git a/git/git_repo.go b/git/git_repo.go index 5852eeb6..5d3ba090 100644 --- a/git/git_repo.go +++ b/git/git_repo.go @@ -5,7 +5,7 @@ import ( "os/exec" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) type GitRepo struct { diff --git a/git/widget.go b/git/widget.go index 762f6833..89aad5a2 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/andrewzolotukhin/wtf/wtf" + "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 d61c2665..e9346367 100644 --- a/github/display.go +++ b/github/display.go @@ -3,7 +3,7 @@ package github import ( "fmt" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) func (widget *Widget) display() { diff --git a/github/widget.go b/github/widget.go index b6f22662..717f1bab 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/andrewzolotukhin/wtf/wtf" + "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 7d48a2a4..1cf16321 100644 --- a/gspreadsheets/client.go +++ b/gspreadsheets/client.go @@ -18,7 +18,7 @@ import ( "path/filepath" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/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 1a4bd220..e754ce74 100644 --- a/gspreadsheets/widget.go +++ b/gspreadsheets/widget.go @@ -3,7 +3,7 @@ package gspreadsheets import ( "fmt" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" "github.com/olebedev/config" sheets "google.golang.org/api/sheets/v4" ) diff --git a/help/help.go b/help/help.go index a2cf1e79..cf79c930 100644 --- a/help/help.go +++ b/help/help.go @@ -4,11 +4,11 @@ import ( "fmt" "os" - "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" + "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" ) func DisplayModuleInfo(moduleName string) { diff --git a/ipinfo/widget.go b/ipinfo/widget.go index c445ecae..62db1732 100644 --- a/ipinfo/widget.go +++ b/ipinfo/widget.go @@ -9,7 +9,7 @@ import ( "bytes" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/jira/widget.go b/jira/widget.go index 2709eff2..6ca9670e 100644 --- a/jira/widget.go +++ b/jira/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 b765758b..ca16966f 100644 --- a/newrelic/widget.go +++ b/newrelic/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" nr "github.com/yfronto/newrelic" ) diff --git a/opsgenie/widget.go b/opsgenie/widget.go index dbb9eed2..314b832a 100644 --- a/opsgenie/widget.go +++ b/opsgenie/widget.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/power/battery.go b/power/battery.go index 96c57262..08b7fdfe 100644 --- a/power/battery.go +++ b/power/battery.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/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 720c110d..693d95b6 100644 --- a/power/battery_linux.go +++ b/power/battery_linux.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) var batteryState string diff --git a/power/source.go b/power/source.go index f28e7c2f..e6eff36c 100644 --- a/power/source.go +++ b/power/source.go @@ -7,7 +7,7 @@ import ( "regexp" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) const SingleQuotesRegExp = "'(.*)'" diff --git a/power/widget.go b/power/widget.go index c7be5b01..d3d3a996 100644 --- a/power/widget.go +++ b/power/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 4e579b2c..c0ef7596 100644 --- a/prettyweather/widget.go +++ b/prettyweather/widget.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 5a458744..2408c2c1 100644 --- a/security/dns.go +++ b/security/dns.go @@ -5,7 +5,7 @@ import ( "runtime" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) /* -------------------- Exported Functions -------------------- */ diff --git a/security/firewall.go b/security/firewall.go index 828c3bf0..6323b5e1 100644 --- a/security/firewall.go +++ b/security/firewall.go @@ -5,7 +5,7 @@ import ( "runtime" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) const osxFirewallCmd = "/usr/libexec/ApplicationFirewall/socketfilterfw" diff --git a/security/users.go b/security/users.go index 77a41243..b8fe5164 100644 --- a/security/users.go +++ b/security/users.go @@ -7,7 +7,7 @@ import ( "runtime" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) /* -------------------- Exported Functions -------------------- */ diff --git a/security/widget.go b/security/widget.go index cdcc7ac1..f5769b8e 100644 --- a/security/widget.go +++ b/security/widget.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 b152a7ba..30b75767 100644 --- a/security/wifi.go +++ b/security/wifi.go @@ -4,7 +4,7 @@ import ( "os/exec" "runtime" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) // https://github.com/yelinaung/wifi-name/blob/master/wifi-name.go diff --git a/status/widget.go b/status/widget.go index 67bb6977..3bd71599 100644 --- a/status/widget.go +++ b/status/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 eb8d5c2d..1582ebe7 100644 --- a/system/system_info.go +++ b/system/system_info.go @@ -5,7 +5,7 @@ import ( "runtime" "strings" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) type SystemInfo struct { diff --git a/system/widget.go b/system/widget.go index 530e8400..c13ed5ea 100644 --- a/system/widget.go +++ b/system/widget.go @@ -5,7 +5,7 @@ import ( "time" "github.com/olebedev/config" - "github.com/andrewzolotukhin/wtf/wtf" + "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 5aa5b426..2bc3afe6 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/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object diff --git a/todo/display.go b/todo/display.go index ea20f873..d25d20cb 100644 --- a/todo/display.go +++ b/todo/display.go @@ -3,7 +3,7 @@ package todo import ( "fmt" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) const checkWidth = 4 diff --git a/todo/widget.go b/todo/widget.go index 93014f29..00dcb984 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/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" "gopkg.in/yaml.v2" ) diff --git a/weather/display.go b/weather/display.go index 84711640..1b237789 100644 --- a/weather/display.go +++ b/weather/display.go @@ -5,7 +5,7 @@ import ( "strings" owm "github.com/briandowns/openweathermap" - "github.com/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) func (widget *Widget) display() { diff --git a/weather/widget.go b/weather/widget.go index dce962ee..992c7207 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/andrewzolotukhin/wtf/wtf" + "github.com/senorprogrammer/wtf/wtf" ) // Config is a pointer to the global config object. diff --git a/wtf.go b/wtf.go index d2b41a68..0580fc0f 100644 --- a/wtf.go +++ b/wtf.go @@ -6,31 +6,31 @@ import ( "os" "time" - "github.com/andrewzolotukhin/wtf/bamboohr" - "github.com/andrewzolotukhin/wtf/bargraph" - "github.com/andrewzolotukhin/wtf/blockfolio" - "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/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/senorprogrammer/wtf/bamboohr" + "github.com/senorprogrammer/wtf/bargraph" + "github.com/senorprogrammer/wtf/blockfolio" + "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/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/gdamore/tcell" "github.com/olebedev/config" "github.com/radovskyb/watcher" diff --git a/wtf/config_files.go b/wtf/config_files.go index 2e60351d..ff57654d 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/andrewzolotukhin/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/senorprogrammer/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 7dd5e8c5..370a3373 100644 --- a/wtf_tests/position_test.go +++ b/wtf_tests/position_test.go @@ -3,7 +3,7 @@ package wtf_tests import ( "testing" - . "github.com/andrewzolotukhin/wtf/wtf" + . "github.com/senorprogrammer/wtf/wtf" ) func TestPosition(t *testing.T) { diff --git a/wtf_tests/utils_test.go b/wtf_tests/utils_test.go index 2d347150..a069301c 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/andrewzolotukhin/wtf/wtf" + . "github.com/senorprogrammer/wtf/wtf" ) /* -------------------- Exclude() -------------------- */