Skip to content

Commit

Permalink
Forking wingo
Browse files Browse the repository at this point in the history
The author has promised there's no more support. It's up to us now.

Signed-off-by: Ronald G. Minnich <[email protected]>
  • Loading branch information
rminnich committed Oct 19, 2017
1 parent ddffc68 commit fc07d58
Show file tree
Hide file tree
Showing 74 changed files with 204 additions and 204 deletions.
4 changes: 2 additions & 2 deletions cmd_hacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
12 changes: 6 additions & 6 deletions commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion commands/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions commands/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions commands/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions commands/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions commands/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion commands/tile_auto.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion cursors/cursors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion event/ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/BurntSushi/xgbutil"

"github.com/BurntSushi/wingo/logger"
"github.com/u-root/wingo/logger"
)

var subs subscriptions
Expand Down
2 changes: 1 addition & 1 deletion focus/focus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion frame/borders.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/BurntSushi/xgbutil"

"github.com/BurntSushi/wingo/render"
"github.com/u-root/wingo/render"
)

type Borders struct {
Expand Down
6 changes: 3 additions & 3 deletions frame/borders_pieces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion frame/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions frame/full.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions frame/full_pieces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion frame/parent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion frame/slim.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/BurntSushi/xgbutil"

"github.com/BurntSushi/wingo/render"
"github.com/u-root/wingo/render"
)

type Slim struct {
Expand Down
4 changes: 2 additions & 2 deletions heads/heads.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions heads/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hook/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions hook/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion layout/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/BurntSushi/xgbutil/xrect"

"github.com/BurntSushi/wingo/misc"
"github.com/u-root/wingo/misc"
)

const (
Expand Down
26 changes: 13 additions & 13 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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"+
Expand Down
8 changes: 4 additions & 4 deletions misc/xdg.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion ownership.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions prompt/cycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions prompt/cycle_item.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion prompt/examples/cycle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion prompt/examples/input/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit fc07d58

Please sign in to comment.