From fc07d58cd7c4382d1ee909f0f77d2cd81180b06e Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 18 Oct 2017 23:23:37 -0700 Subject: [PATCH] Forking wingo The author has promised there's no more support. It's up to us now. Signed-off-by: Ronald G. Minnich --- cmd_hacks.go | 4 ++-- commands/commands.go | 12 ++++++------ commands/doc.go | 2 +- commands/get.go | 8 ++++---- commands/match.go | 4 ++-- commands/misc.go | 10 +++++----- commands/prompt.go | 8 ++++---- commands/tile_auto.go | 2 +- cursors/cursors.go | 2 +- event/ipc.go | 2 +- focus/focus.go | 2 +- frame/borders.go | 2 +- frame/borders_pieces.go | 6 +++--- frame/frame.go | 2 +- frame/full.go | 6 +++--- frame/full_pieces.go | 6 +++--- frame/parent.go | 2 +- frame/slim.go | 2 +- heads/heads.go | 4 ++-- heads/workspace.go | 6 +++--- hook/doc.go | 2 +- hook/hook.go | 4 ++-- ipc.go | 4 ++-- layout/tree.go | 2 +- main.go | 26 +++++++++++++------------- misc/xdg.go | 8 ++++---- ownership.go | 2 +- prompt/cycle.go | 6 +++--- prompt/cycle_item.go | 4 ++-- prompt/examples/cycle/main.go | 2 +- prompt/examples/input/main.go | 2 +- prompt/examples/message/main.go | 2 +- prompt/examples/select/main.go | 2 +- prompt/ignore_focus.go | 2 +- prompt/input.go | 6 +++--- prompt/message.go | 6 +++--- prompt/select.go | 6 +++--- prompt/select_group.go | 4 ++-- prompt/select_item.go | 4 ++-- root.go | 8 ++++---- text/examples/input/main.go | 6 +++--- text/input.go | 4 ++-- text/render.go | 2 +- wingo-cmd/main.go | 2 +- wm/bindings_key.go | 2 +- wm/bindings_mouse.go | 4 ++-- wm/client.go | 8 ++++---- wm/config.go | 6 +++--- wm/config_theme_setters.go | 6 +++--- wm/ewmh.go | 4 ++-- wm/prompt.go | 4 ++-- wm/state.go | 10 +++++----- wm/theme.go | 12 ++++++------ workspace/client.go | 2 +- workspace/interface.go | 2 +- workspace/workspace.go | 8 ++++---- write_config.go | 4 ++-- xclient/bools.go | 6 +++--- xclient/client.go | 14 +++++++------- xclient/client_message.go | 8 ++++---- xclient/drag.go | 4 ++-- xclient/event.go | 10 +++++----- xclient/focus.go | 12 ++++++------ xclient/frame.go | 6 +++--- xclient/group.go | 2 +- xclient/icon.go | 4 ++-- xclient/layout.go | 6 +++--- xclient/manage.go | 18 +++++++++--------- xclient/prompts.go | 4 ++-- xclient/property.go | 6 +++--- xclient/state.go | 4 ++-- xclient/toggles.go | 10 +++++----- xclient/unmanage.go | 10 +++++----- xclient/workspace.go | 4 ++-- 74 files changed, 204 insertions(+), 204 deletions(-) diff --git a/cmd_hacks.go b/cmd_hacks.go index c1a26dc..578b82e 100644 --- a/cmd_hacks.go +++ b/cmd_hacks.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/BurntSushi/wingo/commands" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/commands" + "github.com/u-root/wingo/wm" ) func newHacks() wm.CommandHacks { diff --git a/commands/commands.go b/commands/commands.go index 3241a92..9e1d50f 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -18,12 +18,12 @@ import ( "github.com/BurntSushi/xgbutil/xprop" "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" + "github.com/u-root/wingo/xclient" ) // Env declares all available commands. Any command not in diff --git a/commands/doc.go b/commands/doc.go index 524bb36..65c6715 100644 --- a/commands/doc.go +++ b/commands/doc.go @@ -5,6 +5,6 @@ For more about Gribble, see http://godoc.burntsushi.net/pkg/github.com/BurntSushi/gribble/ For about using Gribble with Wingo, see -https://github.com/BurntSushi/wingo/blob/master/HOWTO-COMMANDS +https://github.com/u-root/wingo/blob/master/HOWTO-COMMANDS */ package commands diff --git a/commands/get.go b/commands/get.go index e353fe7..e2c7632 100644 --- a/commands/get.go +++ b/commands/get.go @@ -8,10 +8,10 @@ import ( "github.com/BurntSushi/gribble" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" + "github.com/u-root/wingo/xclient" ) type GetActive struct { diff --git a/commands/match.go b/commands/match.go index 31cf9e8..9ced421 100644 --- a/commands/match.go +++ b/commands/match.go @@ -5,8 +5,8 @@ import ( "github.com/BurntSushi/gribble" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/xclient" ) type MatchClientMapped struct { diff --git a/commands/misc.go b/commands/misc.go index 35aa5e1..c72db48 100644 --- a/commands/misc.go +++ b/commands/misc.go @@ -10,11 +10,11 @@ import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/prompt" - "github.com/BurntSushi/wingo/workspace" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/prompt" + "github.com/u-root/wingo/workspace" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/xclient" ) // parsePos takes a string and parses an x or y position from it. diff --git a/commands/prompt.go b/commands/prompt.go index 30f8d3a..b50ebc3 100644 --- a/commands/prompt.go +++ b/commands/prompt.go @@ -5,10 +5,10 @@ import ( "github.com/BurntSushi/gribble" - "github.com/BurntSushi/wingo/prompt" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/prompt" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" + "github.com/u-root/wingo/xclient" ) type CycleClientChoose struct{ diff --git a/commands/tile_auto.go b/commands/tile_auto.go index 417577e..8904ddf 100644 --- a/commands/tile_auto.go +++ b/commands/tile_auto.go @@ -3,7 +3,7 @@ package commands import ( "github.com/BurntSushi/gribble" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/workspace" ) type AutoTile struct { diff --git a/cursors/cursors.go b/cursors/cursors.go index 018980f..08d3319 100644 --- a/cursors/cursors.go +++ b/cursors/cursors.go @@ -6,7 +6,7 @@ import ( "github.com/BurntSushi/xgbutil" "github.com/BurntSushi/xgbutil/xcursor" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) var ( diff --git a/event/ipc.go b/event/ipc.go index dfafd5d..daed773 100644 --- a/event/ipc.go +++ b/event/ipc.go @@ -10,7 +10,7 @@ import ( "github.com/BurntSushi/xgbutil" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) var subs subscriptions diff --git a/focus/focus.go b/focus/focus.go index 670a787..ef3dffb 100644 --- a/focus/focus.go +++ b/focus/focus.go @@ -8,7 +8,7 @@ import ( "github.com/BurntSushi/xgbutil/xprop" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) var ( diff --git a/frame/borders.go b/frame/borders.go index 517d444..5801299 100644 --- a/frame/borders.go +++ b/frame/borders.go @@ -5,7 +5,7 @@ import ( "github.com/BurntSushi/xgbutil" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/render" ) type Borders struct { diff --git a/frame/borders_pieces.go b/frame/borders_pieces.go index c613be3..2b0ae7f 100644 --- a/frame/borders_pieces.go +++ b/frame/borders_pieces.go @@ -6,9 +6,9 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/cursors" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/cursors" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/render" ) func (f *Borders) newPieceWindow(ident string, diff --git a/frame/frame.go b/frame/frame.go index e4c36ee..fa24bfc 100644 --- a/frame/frame.go +++ b/frame/frame.go @@ -6,7 +6,7 @@ import ( "github.com/BurntSushi/xgbutil" "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) const ( diff --git a/frame/full.go b/frame/full.go index 6935711..b76e882 100644 --- a/frame/full.go +++ b/frame/full.go @@ -11,9 +11,9 @@ import ( "github.com/BurntSushi/xgbutil" "github.com/BurntSushi/xgbutil/xgraphics" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" ) type Full struct { diff --git a/frame/full_pieces.go b/frame/full_pieces.go index 3a2924e..9864dbe 100644 --- a/frame/full_pieces.go +++ b/frame/full_pieces.go @@ -8,9 +8,9 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/cursors" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/cursors" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/render" ) func (f *Full) newPieceWindow(ident string, diff --git a/frame/parent.go b/frame/parent.go index df03b53..740b323 100644 --- a/frame/parent.go +++ b/frame/parent.go @@ -8,7 +8,7 @@ import ( "github.com/BurntSushi/xgbutil" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) type Parent struct { diff --git a/frame/slim.go b/frame/slim.go index f0f0cd7..08ba710 100644 --- a/frame/slim.go +++ b/frame/slim.go @@ -5,7 +5,7 @@ import ( "github.com/BurntSushi/xgbutil" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/render" ) type Slim struct { diff --git a/heads/heads.go b/heads/heads.go index eb80f08..090f4e8 100644 --- a/heads/heads.go +++ b/heads/heads.go @@ -9,8 +9,8 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/workspace" ) type Heads struct { diff --git a/heads/workspace.go b/heads/workspace.go index af924b7..45f867e 100644 --- a/heads/workspace.go +++ b/heads/workspace.go @@ -6,9 +6,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/workspace" ) // ActivateWorkspace will "focus" or "activate" the workspace provided. diff --git a/hook/doc.go b/hook/doc.go index 02900c2..bee17ad 100644 --- a/hook/doc.go +++ b/hook/doc.go @@ -13,6 +13,6 @@ variable. Please see config/hooks.wini in the Wingo project directory for an explanation of how user defined hooks can be specified: -https://github.com/BurntSushi/wingo/blob/master/config/hooks.wini +https://github.com/u-root/wingo/blob/master/config/hooks.wini */ package hook diff --git a/hook/hook.go b/hook/hook.go index 37a8107..64c3c63 100644 --- a/hook/hook.go +++ b/hook/hook.go @@ -6,8 +6,8 @@ import ( "github.com/BurntSushi/gribble" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wini" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wini" ) // All available hook groups. Each hook group corresponds to some action in diff --git a/ipc.go b/ipc.go index 8d971e8..a4c9f11 100644 --- a/ipc.go +++ b/ipc.go @@ -10,8 +10,8 @@ import ( "github.com/BurntSushi/xgbutil" - "github.com/BurntSushi/wingo/commands" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/commands" + "github.com/u-root/wingo/logger" ) // ipc starts the command server via a unix domain socket. It accepts diff --git a/layout/tree.go b/layout/tree.go index 363cc71..5526ca6 100644 --- a/layout/tree.go +++ b/layout/tree.go @@ -6,7 +6,7 @@ import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/misc" + "github.com/u-root/wingo/misc" ) const ( diff --git a/main.go b/main.go index 3fbd2dd..63e5a61 100644 --- a/main.go +++ b/main.go @@ -22,17 +22,17 @@ import ( "github.com/BurntSushi/xgbutil/mousebind" "github.com/BurntSushi/xgbutil/xevent" - "github.com/BurntSushi/wingo/commands" - "github.com/BurntSushi/wingo/cursors" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/hook" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/commands" + "github.com/u-root/wingo/cursors" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/hook" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/xclient" ) var ( @@ -64,12 +64,12 @@ func init() { "Override the location of the configuration files. When this\n"+ "is not set, the following paths (roughly) will be checked\n"+ "in order: $XDG_CONFIG_DIR/wingo, /etc/xdg/wingo,\n"+ - "$GOPATH/src/github.com/BurntSushi/wingo/config") + "$GOPATH/src/github.com/u-root/wingo/config") flag.StringVar(&flagDataDir, "data-dir", flagDataDir, "Override the location of the data files (images/fonts). When this\n"+ "is not set, the following paths (roughly) will be checked\n"+ "in order: $XDG_DATA_HOME/wingo, /usr/local/share, /usr/share,\n"+ - "$GOPATH/src/github.com/BurntSushi/wingo/data") + "$GOPATH/src/github.com/u-root/wingo/data") flag.BoolVar(&flagWriteConfig, "write-config", flagWriteConfig, "Writes a fresh set of configuration files to $XDG_CONFIG_HOME/wingo\n"+ "if XDG_CONFIG_HOME is set. Otherwise, configuration files\n"+ diff --git a/misc/xdg.go b/misc/xdg.go index 7a9f64d..d693a02 100644 --- a/misc/xdg.go +++ b/misc/xdg.go @@ -7,25 +7,25 @@ import ( "github.com/BurntSushi/xdg" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) var ConfigPaths = xdg.Paths{ Override: "", XDGSuffix: "wingo", - GoImportPath: "github.com/BurntSushi/wingo/config", + GoImportPath: "github.com/u-root/wingo/config", } var DataPaths = xdg.Paths{ Override: "", XDGSuffix: "wingo", - GoImportPath: "github.com/BurntSushi/wingo/data", + GoImportPath: "github.com/u-root/wingo/data", } var ScriptPaths = xdg.Paths{ Override: "", XDGSuffix: "wingo", - GoImportPath: "github.com/BurntSushi/wingo/config", + GoImportPath: "github.com/u-root/wingo/config", } func ConfigFile(name string) string { diff --git a/ownership.go b/ownership.go index 445590a..30d71e4 100644 --- a/ownership.go +++ b/ownership.go @@ -12,7 +12,7 @@ import ( "github.com/BurntSushi/xgbutil/xprop" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) // This file is responsible for implementing all the crud around getting diff --git a/prompt/cycle.go b/prompt/cycle.go index 542093c..a1d9294 100644 --- a/prompt/cycle.go +++ b/prompt/cycle.go @@ -15,9 +15,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" ) // Cycle represents a single cycle prompt. A new cycle prompt can be created by: diff --git a/prompt/cycle_item.go b/prompt/cycle_item.go index c1b0225..ea29d10 100644 --- a/prompt/cycle_item.go +++ b/prompt/cycle_item.go @@ -6,8 +6,8 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/text" ) // CycleChoice is any value capable of being shown in a prompt cycle. diff --git a/prompt/examples/cycle/main.go b/prompt/examples/cycle/main.go index 58ef67c..6fb2f3d 100644 --- a/prompt/examples/cycle/main.go +++ b/prompt/examples/cycle/main.go @@ -22,7 +22,7 @@ import ( "github.com/BurntSushi/xgbutil/xinerama" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/prompt" ) var ( diff --git a/prompt/examples/input/main.go b/prompt/examples/input/main.go index 0f763a3..7a0b5e8 100644 --- a/prompt/examples/input/main.go +++ b/prompt/examples/input/main.go @@ -9,7 +9,7 @@ import ( "github.com/BurntSushi/xgbutil/xevent" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/prompt" ) // response is the callback that gets executed whenever the user hits diff --git a/prompt/examples/message/main.go b/prompt/examples/message/main.go index a6667c9..2e3e2a3 100644 --- a/prompt/examples/message/main.go +++ b/prompt/examples/message/main.go @@ -11,7 +11,7 @@ import ( "github.com/BurntSushi/xgbutil/xevent" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/prompt" ) // hidden is a callback that is executed when the message disappears. diff --git a/prompt/examples/select/main.go b/prompt/examples/select/main.go index 715fbb5..84a3e30 100644 --- a/prompt/examples/select/main.go +++ b/prompt/examples/select/main.go @@ -13,7 +13,7 @@ import ( "github.com/BurntSushi/xgbutil/xinerama" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/prompt" ) var ( diff --git a/prompt/ignore_focus.go b/prompt/ignore_focus.go index e8a9839..f08c988 100644 --- a/prompt/ignore_focus.go +++ b/prompt/ignore_focus.go @@ -1,7 +1,7 @@ package prompt import ( - "github.com/BurntSushi/wingo/focus" + "github.com/u-root/wingo/focus" ) func ignoreFocus(modeByte, detailByte byte) bool { diff --git a/prompt/input.go b/prompt/input.go index e9599c7..040da21 100644 --- a/prompt/input.go +++ b/prompt/input.go @@ -15,9 +15,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/text" ) type Input struct { diff --git a/prompt/message.go b/prompt/message.go index 220e1b6..34bc45c 100644 --- a/prompt/message.go +++ b/prompt/message.go @@ -17,9 +17,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/text" ) type Message struct { diff --git a/prompt/select.go b/prompt/select.go index e160dda..7242497 100644 --- a/prompt/select.go +++ b/prompt/select.go @@ -17,9 +17,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/text" ) const ( diff --git a/prompt/select_group.go b/prompt/select_group.go index 2df30c5..dc7ca90 100644 --- a/prompt/select_group.go +++ b/prompt/select_group.go @@ -5,8 +5,8 @@ import ( "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/text" ) type SelectGroup interface { diff --git a/prompt/select_item.go b/prompt/select_item.go index 089c29c..4d0e818 100644 --- a/prompt/select_item.go +++ b/prompt/select_item.go @@ -5,8 +5,8 @@ import ( "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/text" ) type SelectChoice interface { diff --git a/root.go b/root.go index c376e43..7bff6e9 100644 --- a/root.go +++ b/root.go @@ -9,10 +9,10 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/xclient" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/xclient" ) func rootInit(X *xgbutil.XUtil) { diff --git a/text/examples/input/main.go b/text/examples/input/main.go index f93f790..595e057 100644 --- a/text/examples/input/main.go +++ b/text/examples/input/main.go @@ -21,9 +21,9 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/text" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/text" ) var ( diff --git a/text/input.go b/text/input.go index 89db592..304e57b 100644 --- a/text/input.go +++ b/text/input.go @@ -12,8 +12,8 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/render" ) // Input encapsulates the information needed to construct and maintain diff --git a/text/render.go b/text/render.go index 33cde97..d8472c8 100644 --- a/text/render.go +++ b/text/render.go @@ -8,7 +8,7 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/render" + "github.com/u-root/wingo/render" ) // BUG(burntsushi): I don't think freetype-go has a way to compute text extents diff --git a/wingo-cmd/main.go b/wingo-cmd/main.go index 0687066..ea1708f 100644 --- a/wingo-cmd/main.go +++ b/wingo-cmd/main.go @@ -16,7 +16,7 @@ import ( "github.com/BurntSushi/cmd" - "github.com/BurntSushi/wingo/commands" + "github.com/u-root/wingo/commands" ) var ( diff --git a/wm/bindings_key.go b/wm/bindings_key.go index e7e5d3e..3048f85 100644 --- a/wm/bindings_key.go +++ b/wm/bindings_key.go @@ -5,7 +5,7 @@ import ( "github.com/BurntSushi/xgbutil/keybind" "github.com/BurntSushi/xgbutil/xevent" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/logger" ) type keyCommand struct { diff --git a/wm/bindings_mouse.go b/wm/bindings_mouse.go index 1d160af..2da7d0a 100644 --- a/wm/bindings_mouse.go +++ b/wm/bindings_mouse.go @@ -21,8 +21,8 @@ import ( "github.com/BurntSushi/xgbutil/mousebind" "github.com/BurntSushi/xgbutil/xevent" - "github.com/BurntSushi/wingo/cursors" - "github.com/BurntSushi/wingo/logger" + "github.com/u-root/wingo/cursors" + "github.com/u-root/wingo/logger" ) // MouseClientClicked is a terrible hack to inject state into commands. diff --git a/wm/client.go b/wm/client.go index 09fad04..e7350e1 100644 --- a/wm/client.go +++ b/wm/client.go @@ -3,10 +3,10 @@ package wm import ( "github.com/BurntSushi/xgb/xproto" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/heads" - "github.com/BurntSushi/wingo/prompt" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/heads" + "github.com/u-root/wingo/prompt" + "github.com/u-root/wingo/workspace" ) type Client interface { diff --git a/wm/config.go b/wm/config.go index 9c07ee9..42ba1af 100644 --- a/wm/config.go +++ b/wm/config.go @@ -5,9 +5,9 @@ import ( "github.com/BurntSushi/xgbutil/ewmh" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/wini" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/wini" ) type Configuration struct { diff --git a/wm/config_theme_setters.go b/wm/config_theme_setters.go index f3b8d6e..68c735f 100644 --- a/wm/config_theme_setters.go +++ b/wm/config_theme_setters.go @@ -10,9 +10,9 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/wini" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/wini" ) func setString(k wini.Key, place *string) { diff --git a/wm/ewmh.go b/wm/ewmh.go index 08604a7..937a094 100644 --- a/wm/ewmh.go +++ b/wm/ewmh.go @@ -8,8 +8,8 @@ import ( "github.com/BurntSushi/xgbutil/ewmh" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/workspace" ) func ewmhClientList() { diff --git a/wm/prompt.go b/wm/prompt.go index 1d3d72b..6744725 100644 --- a/wm/prompt.go +++ b/wm/prompt.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/prompt" ) type AllPrompts struct { diff --git a/wm/state.go b/wm/state.go index c854731..70d378f 100644 --- a/wm/state.go +++ b/wm/state.go @@ -13,11 +13,11 @@ import ( "github.com/BurntSushi/xgbutil/xevent" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/heads" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/heads" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/workspace" ) var ( diff --git a/wm/theme.go b/wm/theme.go index acf3ae0..f9b2af7 100644 --- a/wm/theme.go +++ b/wm/theme.go @@ -6,12 +6,12 @@ import ( "github.com/BurntSushi/xgbutil/xgraphics" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" - "github.com/BurntSushi/wingo/prompt" - "github.com/BurntSushi/wingo/render" - "github.com/BurntSushi/wingo/wini" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" + "github.com/u-root/wingo/prompt" + "github.com/u-root/wingo/render" + "github.com/u-root/wingo/wini" ) type ThemeConfig struct { diff --git a/workspace/client.go b/workspace/client.go index 16b6d25..9b8c402 100644 --- a/workspace/client.go +++ b/workspace/client.go @@ -5,7 +5,7 @@ import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/layout" + "github.com/u-root/wingo/layout" ) type Client interface { diff --git a/workspace/interface.go b/workspace/interface.go index 98515f9..ea64f76 100644 --- a/workspace/interface.go +++ b/workspace/interface.go @@ -5,7 +5,7 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/layout" + "github.com/u-root/wingo/layout" ) type Workspacer interface { diff --git a/workspace/workspace.go b/workspace/workspace.go index 545a7a6..17f1616 100644 --- a/workspace/workspace.go +++ b/workspace/workspace.go @@ -7,10 +7,10 @@ import ( "github.com/BurntSushi/xgbutil" "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/layout" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/prompt" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/layout" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/prompt" ) type Workspace struct { diff --git a/write_config.go b/write_config.go index a6a9edd..2405bd8 100644 --- a/write_config.go +++ b/write_config.go @@ -6,8 +6,8 @@ import ( "path" "strings" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/misc" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/misc" ) func writeConfigFiles() { diff --git a/xclient/bools.go b/xclient/bools.go index 6cfb13c..0dbe514 100644 --- a/xclient/bools.go +++ b/xclient/bools.go @@ -6,9 +6,9 @@ import ( "github.com/BurntSushi/xgbutil/icccm" "github.com/BurntSushi/xgbutil/motif" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" ) func (c *Client) IsActive() bool { diff --git a/xclient/client.go b/xclient/client.go index 922061b..abc3d93 100644 --- a/xclient/client.go +++ b/xclient/client.go @@ -11,13 +11,13 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/hook" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/hook" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) const ( diff --git a/xclient/client_message.go b/xclient/client_message.go index b41e126..64f9fe2 100644 --- a/xclient/client_message.go +++ b/xclient/client_message.go @@ -7,10 +7,10 @@ import ( "github.com/BurntSushi/xgbutil/icccm" "github.com/BurntSushi/xgbutil/xprop" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" ) func (c *Client) handleClientMessage(name string, data []uint32) { diff --git a/xclient/drag.go b/xclient/drag.go index 9e85c27..b0f15c6 100644 --- a/xclient/drag.go +++ b/xclient/drag.go @@ -6,8 +6,8 @@ import ( "github.com/BurntSushi/xgbutil/ewmh" "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/cursors" - "github.com/BurntSushi/wingo/frame" + "github.com/u-root/wingo/cursors" + "github.com/u-root/wingo/frame" ) func (c *Client) DragGeom() xrect.Rect { diff --git a/xclient/event.go b/xclient/event.go index ccee66a..e12abe7 100644 --- a/xclient/event.go +++ b/xclient/event.go @@ -8,11 +8,11 @@ import ( "github.com/BurntSushi/xgbutil/xevent" "github.com/BurntSushi/xgbutil/xprop" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/layout" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/layout" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" ) func (c *Client) attachEventCallbacks() { diff --git a/xclient/focus.go b/xclient/focus.go index 50497ab..2e79aad 100644 --- a/xclient/focus.go +++ b/xclient/focus.go @@ -3,12 +3,12 @@ package xclient import ( "github.com/BurntSushi/xgbutil/ewmh" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/hook" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/hook" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) func (c *Client) Focus() { diff --git a/xclient/frame.go b/xclient/frame.go index 65e83d6..42c0fa9 100644 --- a/xclient/frame.go +++ b/xclient/frame.go @@ -7,9 +7,9 @@ import ( "github.com/BurntSushi/xgbutil/icccm" "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" ) // refreshExtents sets the _NET_FRAME_EXTENTS property whenever the frame diff --git a/xclient/group.go b/xclient/group.go index 38f956d..11e62b7 100644 --- a/xclient/group.go +++ b/xclient/group.go @@ -3,7 +3,7 @@ package xclient import ( "github.com/BurntSushi/xgbutil/icccm" - "github.com/BurntSushi/wingo/stack" + "github.com/u-root/wingo/stack" ) // Transient is a wrapper around transient that type switches an empty interface diff --git a/xclient/icon.go b/xclient/icon.go index f0710c6..1e57c4e 100644 --- a/xclient/icon.go +++ b/xclient/icon.go @@ -3,8 +3,8 @@ package xclient import ( "github.com/BurntSushi/xgbutil/xgraphics" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/wm" ) func (c *Client) Icon(width, height int) *xgraphics.Image { diff --git a/xclient/layout.go b/xclient/layout.go index b70c174..ba0ee81 100644 --- a/xclient/layout.go +++ b/xclient/layout.go @@ -5,9 +5,9 @@ import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/layout" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/layout" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) func (c *Client) CheckNewWorkspace() { diff --git a/xclient/manage.go b/xclient/manage.go index 569840b..ce0a582 100644 --- a/xclient/manage.go +++ b/xclient/manage.go @@ -10,15 +10,15 @@ import ( "github.com/BurntSushi/xgbutil/xrect" "github.com/BurntSushi/xgbutil/xwindow" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/heads" - "github.com/BurntSushi/wingo/hook" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/heads" + "github.com/u-root/wingo/hook" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) func New(id xproto.Window) *Client { diff --git a/xclient/prompts.go b/xclient/prompts.go index 3a9aeaa..f8a98b0 100644 --- a/xclient/prompts.go +++ b/xclient/prompts.go @@ -3,8 +3,8 @@ package xclient import ( "github.com/BurntSushi/xgbutil/xgraphics" - "github.com/BurntSushi/wingo/prompt" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/prompt" + "github.com/u-root/wingo/wm" ) type clientPrompts struct { diff --git a/xclient/property.go b/xclient/property.go index 5e65f51..2372b0f 100644 --- a/xclient/property.go +++ b/xclient/property.go @@ -6,9 +6,9 @@ import ( "github.com/BurntSushi/xgbutil/ewmh" "github.com/BurntSushi/xgbutil/icccm" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/layout" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/layout" + "github.com/u-root/wingo/wm" ) func (c *Client) handleProperty(name string) { diff --git a/xclient/state.go b/xclient/state.go index 77a9508..4e77b79 100644 --- a/xclient/state.go +++ b/xclient/state.go @@ -3,8 +3,8 @@ package xclient import ( "github.com/BurntSushi/xgbutil/xrect" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/heads" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/heads" ) func (c *Client) newClientStates() map[string]clientState { diff --git a/xclient/toggles.go b/xclient/toggles.go index a3dc0ab..79cdbe6 100644 --- a/xclient/toggles.go +++ b/xclient/toggles.go @@ -3,11 +3,11 @@ package xclient import ( "time" - "github.com/BurntSushi/wingo/frame" - "github.com/BurntSushi/wingo/layout" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/frame" + "github.com/u-root/wingo/layout" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) func (c *Client) FloatingToggle() { diff --git a/xclient/unmanage.go b/xclient/unmanage.go index ae657cc..c443c8a 100644 --- a/xclient/unmanage.go +++ b/xclient/unmanage.go @@ -6,11 +6,11 @@ import ( "github.com/BurntSushi/xgbutil/icccm" "github.com/BurntSushi/xgbutil/xevent" - "github.com/BurntSushi/wingo/event" - "github.com/BurntSushi/wingo/focus" - "github.com/BurntSushi/wingo/logger" - "github.com/BurntSushi/wingo/stack" - "github.com/BurntSushi/wingo/wm" + "github.com/u-root/wingo/event" + "github.com/u-root/wingo/focus" + "github.com/u-root/wingo/logger" + "github.com/u-root/wingo/stack" + "github.com/u-root/wingo/wm" ) func (c *Client) unmanage() { diff --git a/xclient/workspace.go b/xclient/workspace.go index cb404de..d56025d 100644 --- a/xclient/workspace.go +++ b/xclient/workspace.go @@ -5,8 +5,8 @@ import ( "github.com/BurntSushi/xgbutil/ewmh" - "github.com/BurntSushi/wingo/wm" - "github.com/BurntSushi/wingo/workspace" + "github.com/u-root/wingo/wm" + "github.com/u-root/wingo/workspace" ) // ShouldForceFloating returns true whenever a client should be floating.