aboutsummaryrefslogtreecommitdiff
path: root/nexgb/examples
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-09-08 19:57:27 +0200
committerPřemysl Janouch <p@janouch.name>2018-09-21 08:37:59 +0200
commit7aa2601e66155f841fe39ebaa83323969d7849bc (patch)
tree38d46724d8073c72008756032432c422b7561969 /nexgb/examples
parent48fb710f357a363cce043a9f546e8a4aff196786 (diff)
downloadhaven-7aa2601e66155f841fe39ebaa83323969d7849bc.tar.gz
haven-7aa2601e66155f841fe39ebaa83323969d7849bc.tar.xz
haven-7aa2601e66155f841fe39ebaa83323969d7849bc.zip
nexgb: rewrite import paths
Diffstat (limited to 'nexgb/examples')
-rw-r--r--nexgb/examples/atoms/main.go4
-rw-r--r--nexgb/examples/create-window/main.go4
-rw-r--r--nexgb/examples/doc.go2
-rw-r--r--nexgb/examples/get-active-window/main.go4
-rw-r--r--nexgb/examples/randr/main.go6
-rw-r--r--nexgb/examples/xinerama/main.go4
6 files changed, 12 insertions, 12 deletions
diff --git a/nexgb/examples/atoms/main.go b/nexgb/examples/atoms/main.go
index 8985768..a416ee1 100644
--- a/nexgb/examples/atoms/main.go
+++ b/nexgb/examples/atoms/main.go
@@ -9,8 +9,8 @@ import (
"runtime/pprof"
"time"
- "github.com/BurntSushi/xgb"
- "github.com/BurntSushi/xgb/xproto"
+ xgb "janouch.name/haven/nexgb"
+ "janouch.name/haven/nexgb/xproto"
)
var (
diff --git a/nexgb/examples/create-window/main.go b/nexgb/examples/create-window/main.go
index 73a0099..64c1d64 100644
--- a/nexgb/examples/create-window/main.go
+++ b/nexgb/examples/create-window/main.go
@@ -7,8 +7,8 @@ package main
import (
"fmt"
- "github.com/BurntSushi/xgb"
- "github.com/BurntSushi/xgb/xproto"
+ xgb "janouch.name/haven/nexgb"
+ "janouch.name/haven/nexgb/xproto"
)
func main() {
diff --git a/nexgb/examples/doc.go b/nexgb/examples/doc.go
index 80ea5b7..e18180b 100644
--- a/nexgb/examples/doc.go
+++ b/nexgb/examples/doc.go
@@ -11,7 +11,7 @@ to events.
If you're looking to query information about your window manager,
get-active-window is a start. However, to do anything extensive requires
a lot of boiler plate. To that end, I'd recommend use of my higher level
-library, xgbutil: https://github.com/BurntSushi/xgbutil
+library, xgbutil: https://janouch.name/haven/nexgbutil
There are also examples of using the Xinerama and RandR extensions, if you're
interested in querying information about your active heads. In RandR's case,
diff --git a/nexgb/examples/get-active-window/main.go b/nexgb/examples/get-active-window/main.go
index 48e020c..a54f106 100644
--- a/nexgb/examples/get-active-window/main.go
+++ b/nexgb/examples/get-active-window/main.go
@@ -6,8 +6,8 @@ import (
"fmt"
"log"
- "github.com/BurntSushi/xgb"
- "github.com/BurntSushi/xgb/xproto"
+ xgb "janouch.name/haven/nexgb"
+ "janouch.name/haven/nexgb/xproto"
)
func main() {
diff --git a/nexgb/examples/randr/main.go b/nexgb/examples/randr/main.go
index e349144..b41e653 100644
--- a/nexgb/examples/randr/main.go
+++ b/nexgb/examples/randr/main.go
@@ -14,9 +14,9 @@ import (
"fmt"
"log"
- "github.com/BurntSushi/xgb"
- "github.com/BurntSushi/xgb/randr"
- "github.com/BurntSushi/xgb/xproto"
+ xgb "janouch.name/haven/nexgb"
+ "janouch.name/haven/nexgb/randr"
+ "janouch.name/haven/nexgb/xproto"
)
func main() {
diff --git a/nexgb/examples/xinerama/main.go b/nexgb/examples/xinerama/main.go
index 896bb63..aea8ead 100644
--- a/nexgb/examples/xinerama/main.go
+++ b/nexgb/examples/xinerama/main.go
@@ -5,8 +5,8 @@ import (
"fmt"
"log"
- "github.com/BurntSushi/xgb"
- "github.com/BurntSushi/xgb/xinerama"
+ xgb "janouch.name/haven/nexgb"
+ "janouch.name/haven/nexgb/xinerama"
)
func main() {