Package commands

import "github.com/BurntSushi/wingo/commands"
Overview
Index

Overview ▾

package commands defines the Gribble command environment for Wingo.

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

Index ▾

Variables
type AddWorkspace
    func (cmd AddWorkspace) Run() gribble.Value
type And
    func (cmd And) Run() gribble.Value
type AutoCycle
    func (cmd AutoCycle) Run() gribble.Value
type AutoMakeMaster
    func (cmd AutoMakeMaster) Run() gribble.Value
type AutoMaster
    func (cmd AutoMaster) Run() gribble.Value
type AutoMastersFewer
    func (cmd AutoMastersFewer) Run() gribble.Value
type AutoMastersMore
    func (cmd AutoMastersMore) Run() gribble.Value
type AutoNext
    func (cmd AutoNext) Run() gribble.Value
type AutoPrev
    func (cmd AutoPrev) Run() gribble.Value
type AutoResizeMaster
    func (cmd AutoResizeMaster) Run() gribble.Value
type AutoResizeWindow
    func (cmd AutoResizeWindow) Run() gribble.Value
type AutoSwitchNext
    func (cmd AutoSwitchNext) Run() gribble.Value
type AutoSwitchPrev
    func (cmd AutoSwitchPrev) Run() gribble.Value
type AutoTile
    func (cmd AutoTile) Run() gribble.Value
type AutoUntile
    func (cmd AutoUntile) Run() gribble.Value
type Close
    func (cmd Close) Run() gribble.Value
type CycleClientChoose
    func (cmd CycleClientChoose) Run() gribble.Value
type CycleClientHide
    func (cmd CycleClientHide) Run() gribble.Value
type CycleClientNext
    func (cmd CycleClientNext) Run() gribble.Value
    func (cmd CycleClientNext) RunWithKeyStr(keyStr string)
type CycleClientPrev
    func (cmd CycleClientPrev) Run() gribble.Value
    func (cmd CycleClientPrev) RunWithKeyStr(keyStr string)
type Dale
    func (cmd Dale) Run() gribble.Value
type Deiconify
    func (cmd Deiconify) Run() gribble.Value
type False
    func (cmd False) Run() gribble.Value
type Float
    func (cmd Float) Run() gribble.Value
type Focus
    func (cmd Focus) Run() gribble.Value
type FocusRaise
    func (cmd FocusRaise) Run() gribble.Value
type FrameBorders
    func (cmd FrameBorders) Run() gribble.Value
type FrameFull
    func (cmd FrameFull) Run() gribble.Value
type FrameNada
    func (cmd FrameNada) Run() gribble.Value
type FrameSlim
    func (cmd FrameSlim) Run() gribble.Value
type GetActive
    func (cmd GetActive) Run() gribble.Value
type GetAllClients
    func (cmd GetAllClients) Run() gribble.Value
type GetClientHeight
    func (cmd GetClientHeight) Run() gribble.Value
type GetClientList
    func (cmd GetClientList) Run() gribble.Value
type GetClientName
    func (cmd GetClientName) Run() gribble.Value
type GetClientStatesList
    func (cmd GetClientStatesList) Run() gribble.Value
type GetClientType
    func (cmd GetClientType) Run() gribble.Value
type GetClientWidth
    func (cmd GetClientWidth) Run() gribble.Value
type GetClientWorkspace
    func (cmd GetClientWorkspace) Run() gribble.Value
type GetClientX
    func (cmd GetClientX) Run() gribble.Value
type GetClientY
    func (cmd GetClientY) Run() gribble.Value
type GetHead
    func (cmd GetHead) Run() gribble.Value
type GetHeadHeight
    func (cmd GetHeadHeight) Run() gribble.Value
type GetHeadWidth
    func (cmd GetHeadWidth) Run() gribble.Value
type GetHeadWorkspace
    func (cmd GetHeadWorkspace) Run() gribble.Value
type GetLayout
    func (cmd GetLayout) Run() gribble.Value
type GetNumHeads
    func (cmd GetNumHeads) Run() gribble.Value
type GetNumHeadsConnected
    func (cmd GetNumHeadsConnected) Run() gribble.Value
type GetWorkspace
    func (cmd GetWorkspace) Run() gribble.Value
type GetWorkspaceId
    func (cmd GetWorkspaceId) Run() gribble.Value
type GetWorkspaceList
    func (cmd GetWorkspaceList) Run() gribble.Value
type GetWorkspaceNext
    func (cmd GetWorkspaceNext) Run() gribble.Value
type GetWorkspacePrefix
    func (cmd GetWorkspacePrefix) Run() gribble.Value
type GetWorkspacePrev
    func (cmd GetWorkspacePrev) Run() gribble.Value
type HeadCycle
    func (cmd HeadCycle) Run() gribble.Value
type HeadFocus
    func (cmd HeadFocus) Run() gribble.Value
type HeadFocusWithClient
    func (cmd HeadFocusWithClient) Run() gribble.Value
type HideClientFromPanels
    func (cmd HideClientFromPanels) Run() gribble.Value
type Iconify
    func (cmd Iconify) Run() gribble.Value
type Input
    func (cmd Input) Run() gribble.Value
type MatchClientClass
    func (cmd MatchClientClass) Run() gribble.Value
type MatchClientInstance
    func (cmd MatchClientInstance) Run() gribble.Value
type MatchClientIsTransient
    func (cmd MatchClientIsTransient) Run() gribble.Value
type MatchClientMapped
    func (cmd MatchClientMapped) Run() gribble.Value
type MatchClientName
    func (cmd MatchClientName) Run() gribble.Value
type MatchClientType
    func (cmd MatchClientType) Run() gribble.Value
type Maximize
    func (cmd Maximize) Run() gribble.Value
type Message
    func (cmd Message) Run() gribble.Value
type MouseMove
    func (cmd MouseMove) Run() gribble.Value
type MouseResize
    func (cmd MouseResize) Run() gribble.Value
type Move
    func (cmd Move) Run() gribble.Value
type MovePointer
    func (cmd MovePointer) Run() gribble.Value
type MovePointerRelative
    func (cmd MovePointerRelative) Run() gribble.Value
type MoveRelative
    func (cmd MoveRelative) Run() gribble.Value
type Not
    func (cmd Not) Run() gribble.Value
type Or
    func (cmd Or) Run() gribble.Value
type Quit
    func (cmd Quit) Run() gribble.Value
type Raise
    func (cmd Raise) Run() gribble.Value
type RemoveWorkspace
    func (cmd RemoveWorkspace) Run() gribble.Value
type RenameWorkspace
    func (cmd RenameWorkspace) Run() gribble.Value
type Resize
    func (cmd Resize) Run() gribble.Value
type Restart
    func (cmd Restart) Run() gribble.Value
type Script
    func (cmd Script) Run() gribble.Value
type ScriptConfig
    func (cmd ScriptConfig) Run() gribble.Value
type SelectClient
    func (cmd SelectClient) Run() gribble.Value
type SelectWorkspace
    func (cmd SelectWorkspace) Run() gribble.Value
type SetLayout
    func (cmd SetLayout) Run() gribble.Value
type SetOpacity
    func (cmd SetOpacity) Run() gribble.Value
type Shell
    func (cmd Shell) Run() gribble.Value
type ShowClientInPanels
    func (cmd ShowClientInPanels) Run() gribble.Value
type TagGet
    func (cmd TagGet) Run() gribble.Value
type TagSet
    func (cmd TagSet) Run() gribble.Value
type ToggleFloating
    func (cmd ToggleFloating) Run() gribble.Value
type ToggleIconify
    func (cmd ToggleIconify) Run() gribble.Value
type ToggleMaximize
    func (cmd ToggleMaximize) Run() gribble.Value
type ToggleStackAbove
    func (cmd ToggleStackAbove) Run() gribble.Value
type ToggleStackBelow
    func (cmd ToggleStackBelow) Run() gribble.Value
type ToggleSticky
    func (cmd ToggleSticky) Run() gribble.Value
type True
    func (cmd True) Run() gribble.Value
type Unfloat
    func (cmd Unfloat) Run() gribble.Value
type Unmaximize
    func (cmd Unmaximize) Run() gribble.Value
type WingoExec
    func (cmd WingoExec) Run() gribble.Value
type WingoHelp
    func (cmd WingoHelp) Run() gribble.Value
type Workspace
    func (cmd Workspace) Run() gribble.Value
type WorkspaceGreedy
    func (cmd WorkspaceGreedy) Run() gribble.Value
type WorkspaceGreedyWithClient
    func (cmd WorkspaceGreedyWithClient) Run() gribble.Value
type WorkspaceHead
    func (cmd WorkspaceHead) Run() gribble.Value
type WorkspaceSendClient
    func (cmd WorkspaceSendClient) Run() gribble.Value
type WorkspaceToHead
    func (cmd WorkspaceToHead) Run() gribble.Value
type WorkspaceWithClient
    func (cmd WorkspaceWithClient) Run() gribble.Value
Bugs

Package files

commands.go doc.go get.go match.go misc.go prompt.go tile_auto.go

Variables

var (
    // SafeExec is a channel through which a Gribble command execution is
    // sent and executed synchronously with respect to the X main event loop.
    // This is necessary to allow asynchronous prompts to run and return
    // values without locking up the rest of the window manager.
    SafeExec = make(chan func() gribble.Value, 1)

    // SafeReturn is the means through which a return value from a Gribble
    // command is synchronously returned with respext to the X main event loop.
    // See SafeExec.
    SafeReturn = make(chan gribble.Value, 0)
)
var Env = gribble.New([]gribble.Command{
    &AddWorkspace{},
    &Close{},
    &Dale{},
    &Float{},
    &Focus{},
    &FocusRaise{},
    &FrameBorders{},
    &FrameFull{},
    &FrameNada{},
    &FrameSlim{},
    &HeadCycle{},
    &HeadFocus{},
    &HeadFocusWithClient{},
    &ToggleFloating{},
    &ToggleIconify{},
    &Iconify{},
    &Deiconify{},
    &ToggleMaximize{},
    &ToggleStackAbove{},
    &ToggleStackBelow{},
    &ToggleSticky{},
    &Maximize{},
    &MouseMove{},
    &MouseResize{},
    &Move{},
    &MoveRelative{},
    &MovePointer{},
    &MovePointerRelative{},
    &Raise{},
    &RemoveWorkspace{},
    &RenameWorkspace{},
    &Resize{},
    &Restart{},
    &Quit{},
    &SetLayout{},
    &SetOpacity{},
    &Script{},
    &ScriptConfig{},
    &Shell{},
    &Unfloat{},
    &Unmaximize{},
    &WingoExec{},
    &WingoHelp{},
    &Workspace{},
    &WorkspaceGreedy{},
    &WorkspaceHead{},
    &WorkspaceSendClient{},
    &WorkspaceToHead{},
    &WorkspaceWithClient{},
    &WorkspaceGreedyWithClient{},

    &AutoTile{},
    &AutoUntile{},
    &AutoCycle{},
    &AutoResizeMaster{},
    &AutoResizeWindow{},
    &AutoNext{},
    &AutoPrev{},
    &AutoSwitchNext{},
    &AutoSwitchPrev{},
    &AutoMaster{},
    &AutoMakeMaster{},
    &AutoMastersMore{},
    &AutoMastersFewer{},

    &CycleClientChoose{},
    &CycleClientHide{},
    &CycleClientNext{},
    &CycleClientPrev{},
    &Input{},
    &Message{},
    &SelectClient{},
    &SelectWorkspace{},

    &GetActive{},
    &GetAllClients{},
    &GetClientX{},
    &GetClientY{},
    &GetClientHeight{},
    &GetClientWidth{},
    &GetClientList{},
    &GetClientName{},
    &GetClientType{},
    &GetClientWorkspace{},
    &GetHead{},
    &GetNumHeads{},
    &GetNumHeadsConnected{},
    &GetHeadHeight{},
    &GetHeadWidth{},
    &GetHeadWorkspace{},
    &GetLayout{},
    &GetWorkspace{},
    &GetWorkspaceId{},
    &GetWorkspaceList{},
    &GetWorkspaceNext{},
    &GetWorkspacePrefix{},
    &GetWorkspacePrev{},
    &GetClientStatesList{},
    &HideClientFromPanels{},
    &ShowClientInPanels{},

    &TagGet{},
    &TagSet{},

    &True{},
    &False{},
    &MatchClientMapped{},
    &MatchClientClass{},
    &MatchClientInstance{},
    &MatchClientIsTransient{},
    &MatchClientName{},
    &MatchClientType{},
    &Not{},
    &And{},
    &Or{},
})

Env declares all available commands. Any command not in this list cannot be executed.

type AddWorkspace

type AddWorkspace struct {
    Name string `param:"1"`
    Help string `
Adds a new workspace to Wingo with a name Name. Note that a workspace name
must be unique with respect to other workspaces and must have non-zero length.

The name of the workspace that was added is returned.
`
}

func (AddWorkspace) Run

func (cmd AddWorkspace) Run() gribble.Value

type And

type And struct {
    Op1  int    `param:"1"`
    Op2  int    `param:"2"`
    Help string `
Returns the logical AND of Op1 and Op2.

If Op1 or Op2 is not in {0, 1}, then a warning is logged and nil is returned.
`
}

func (And) Run

func (cmd And) Run() gribble.Value

type AutoCycle

type AutoCycle struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Cycles to the next automatic tiling layout in the workspace specified by
Workspace.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoCycle) Run

func (cmd AutoCycle) Run() gribble.Value

type AutoMakeMaster

type AutoMakeMaster struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Switches the current window with the first master in the layout for the
workspace specified by Workspace.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoMakeMaster) Run

func (cmd AutoMakeMaster) Run() gribble.Value

type AutoMaster

type AutoMaster struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Focuses the (first) master window in the layout for the workspace specified
by Workspace.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoMaster) Run

func (cmd AutoMaster) Run() gribble.Value

type AutoMastersFewer

type AutoMastersFewer struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Allows one fewer master window to fit into the master split.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoMastersFewer) Run

func (cmd AutoMastersFewer) Run() gribble.Value

type AutoMastersMore

type AutoMastersMore struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Allows one more master window to fit into the master split.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoMastersMore) Run

func (cmd AutoMastersMore) Run() gribble.Value

type AutoNext

type AutoNext struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Moves focus to the next client in the layout.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoNext) Run

func (cmd AutoNext) Run() gribble.Value

type AutoPrev

type AutoPrev struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Moves focus to the next client in the layout.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoPrev) Run

func (cmd AutoPrev) Run() gribble.Value

type AutoResizeMaster

type AutoResizeMaster struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Amount    float64     `param:"2"`
    Help      string      `
Increases or decreases the size of the master split by Amount in the layout on
the workspace specified by Workspace.

Amount should be a ratio between 0.0 and 1.0.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoResizeMaster) Run

func (cmd AutoResizeMaster) Run() gribble.Value

type AutoResizeWindow

type AutoResizeWindow struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Amount    float64     `param:"2"`
    Help      string      `
Increases or decreases the size of the current window by Amount in the layout
on the workspace specified by Workspace.

Amount should be a ratio between 0.0 and 1.0.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoResizeWindow) Run

func (cmd AutoResizeWindow) Run() gribble.Value

type AutoSwitchNext

type AutoSwitchNext struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Switches the current window with the next window in the layout.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoSwitchNext) Run

func (cmd AutoSwitchNext) Run() gribble.Value

type AutoSwitchPrev

type AutoSwitchPrev struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Switches the current window with the previous window in the layout.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoSwitchPrev) Run

func (cmd AutoSwitchPrev) Run() gribble.Value

type AutoTile

type AutoTile struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Initiates automatic tiling on the workspace specified by Workspace. If tiling
is already active, the layout will be re-placed.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoTile) Run

func (cmd AutoTile) Run() gribble.Value

type AutoUntile

type AutoUntile struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Stops automatic tiling on the workspace specified by Workspace, and restores
windows to their position and geometry before being tiled. If tiling is not
active on the specified workspace, this command has no effect.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (AutoUntile) Run

func (cmd AutoUntile) Run() gribble.Value

type Close

type Close struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Closes the window specified by Client.

Client may be the window id or a substring that matches a window name.
`
}

func (Close) Run

func (cmd Close) Run() gribble.Value

type CycleClientChoose

type CycleClientChoose struct {
    Help string `
Activates the current choice in a cycle prompt.
`
}

func (CycleClientChoose) Run

func (cmd CycleClientChoose) Run() gribble.Value

type CycleClientHide

type CycleClientHide struct {
    Help string `
Hides (i.e., cancels) the current cycle prompt.
`
}

func (CycleClientHide) Run

func (cmd CycleClientHide) Run() gribble.Value

type CycleClientNext

type CycleClientNext struct {
    OnlyActiveWorkspace string `param:"1"`
    OnlyVisible         string `param:"2"`
    ShowIconified       string `param:"3"`
    Help                string `
Shows the cycle prompt for clients and advances the selection to the next
client. If the cycle prompt is already visible, then the selection is advanced
to the next client.

OnlyActiveWorkspace specifies that only clients on the current workspace should
be listed. Valid values are "yes" or "no".

OnlyVisible specifies that only clients on visible workspaces should be listed.
Valid values are "yes" or "no".

ShowIconified specifies that iconified clients will be shown. Valid values are
"yes" or "no".
`
}

func (CycleClientNext) Run

func (cmd CycleClientNext) Run() gribble.Value

func (CycleClientNext) RunWithKeyStr

func (cmd CycleClientNext) RunWithKeyStr(keyStr string)

type CycleClientPrev

type CycleClientPrev struct {
    OnlyActiveWorkspace string `param:"1"`
    OnlyVisible         string `param:"2"`
    ShowIconified       string `param:"3"`
    Help                string `
Shows the cycle prompt for clients and advances the selection to the previous
client. If the cycle prompt is already visible, then the selection is advanced
to the previous client.

OnlyActiveWorkspace specifies that only clients on the current workspace should
be listed. Valid values are "yes" or "no".

OnlyVisible specifies that only clients on visible workspaces should be listed.
Valid values are "yes" or "no".

ShowIconified specifies that iconified clients will be shown. Valid values are
"yes" or "no".
`
}

func (CycleClientPrev) Run

func (cmd CycleClientPrev) Run() gribble.Value

func (CycleClientPrev) RunWithKeyStr

func (cmd CycleClientPrev) RunWithKeyStr(keyStr string)

type Dale

type Dale struct {
    Help string `
Make sure "audio_play_cmd" is set to a program that can play wav files.
`
}

func (Dale) Run

func (cmd Dale) Run() gribble.Value

type Deiconify

type Deiconify struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Deiconifies (unminimizes) the window specified by Client. If the window
is already deiconified, this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Deiconify) Run

func (cmd Deiconify) Run() gribble.Value

type False

type False struct {
    Help string `
Always returns 0.
`
}

func (False) Run

func (cmd False) Run() gribble.Value

type Float

type Float struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Floats the window specified by Client. If the window is already floating,
this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Float) Run

func (cmd Float) Run() gribble.Value

type Focus

type Focus struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Focuses the window specified by Client.

Client may be the window id or a substring that matches a window name.
`
}

func (Focus) Run

func (cmd Focus) Run() gribble.Value

type FocusRaise

type FocusRaise struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Focuses and raises the window specified by Client.

Client may be the window id or a substring that matches a window name.
`
}

func (FocusRaise) Run

func (cmd FocusRaise) Run() gribble.Value

type FrameBorders

type FrameBorders struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Set the decorations of the window specified by Client to the "Borders" frame.

Client may be the window id or a substring that matches a window name.
`
}

func (FrameBorders) Run

func (cmd FrameBorders) Run() gribble.Value

type FrameFull

type FrameFull struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Set the decorations of the window specified by Client to the "Full" frame.

Client may be the window id or a substring that matches a window name.
`
}

func (FrameFull) Run

func (cmd FrameFull) Run() gribble.Value

type FrameNada

type FrameNada struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Set the decorations of the window specified by Client to the "Nada" frame.

Client may be the window id or a substring that matches a window name.
`
}

func (FrameNada) Run

func (cmd FrameNada) Run() gribble.Value

type FrameSlim

type FrameSlim struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Set the decorations of the window specified by Client to the "Slim" frame.

Client may be the window id or a substring that matches a window name.
`
}

func (FrameSlim) Run

func (cmd FrameSlim) Run() gribble.Value

type GetActive

type GetActive struct {
    Help string `
Returns the id of the currently active window. If there is no active window,
0 is returned.
`
}

func (GetActive) Run

func (cmd GetActive) Run() gribble.Value

type GetAllClients

type GetAllClients struct {
    Help string `
Returns a list of all client ids separated by new lines. Clients are listed
in the order in which they were managed, starting with the oldest client.
`
}

func (GetAllClients) Run

func (cmd GetAllClients) Run() gribble.Value

type GetClientHeight

type GetClientHeight struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the height of the window specified by Client, including
decorations. If the client id is invalid, 0 is returned.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientHeight) Run

func (cmd GetClientHeight) Run() gribble.Value

type GetClientList

type GetClientList struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Returns a list of client ids separated by new lines on the workspace specified
by Workspace. Clients are listed in their focus orderering, from most recently
focused to least recently focused.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (GetClientList) Run

func (cmd GetClientList) Run() gribble.Value

type GetClientName

type GetClientName struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the name of the window specified by Client active window.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientName) Run

func (cmd GetClientName) Run() gribble.Value

type GetClientStatesList

type GetClientStatesList struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns a list of states that the client is in. These states are in
correspondence with the possible values of the _NET_WM_STATE property.
The following states may appear in the list: STICKY, MAXIMIZED_VERT,
MAXIMIZED_HORZ, SKIP_TASKBAR, SKIP_PAGER, HIDDEN, FULLSCREEN,
ABOVE, BELOW, DEMANDS_ATTENTION and FOCUSED.

More details can be found here: http://goo.gl/FHdjl

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientStatesList) Run

func (cmd GetClientStatesList) Run() gribble.Value

type GetClientType

type GetClientType struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the type of the window specified by Client active window. A window
type will either be "desktop", "dock" or "normal".

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientType) Run

func (cmd GetClientType) Run() gribble.Value

type GetClientWidth

type GetClientWidth struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the width of the window specified by Client, including
decorations. If the client id is invalid, 0 is returned.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientWidth) Run

func (cmd GetClientWidth) Run() gribble.Value

type GetClientWorkspace

type GetClientWorkspace struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the workspace of the window specified by Client active window.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientWorkspace) Run

func (cmd GetClientWorkspace) Run() gribble.Value

type GetClientX

type GetClientX struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the relative X position of the window specified by Client, where the X
position refers to the left-most region of the window, including
decorations. Note that "relative" in this case refers to the workspace
that the client is on.

Relative positions can be used as arguments to MoveRelative.

If the client id is invalid, or the client is not visible, -9999 is returned.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientX) Run

func (cmd GetClientX) Run() gribble.Value

type GetClientY

type GetClientY struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns the relative Y position of the window specified by Client, where the Y
position refers to the left-most region of the window, including
decorations. Note that "relative" in this case refers to the workspace
that the client is on.

Relative positions can be used as arguments to MoveRelative.

If the client id is invalid, or the client is not visible, -9999 is returned.

Client may be the window id or a substring that matches a window name.
`
}

func (GetClientY) Run

func (cmd GetClientY) Run() gribble.Value

type GetHead

type GetHead struct {
    Help string `
Returns the index of the current head. Indexing starts at 0. Heads are ordered
by their physical position: left to right and then top to bottom.
`
}

func (GetHead) Run

func (cmd GetHead) Run() gribble.Value

type GetHeadHeight

type GetHeadHeight struct {
    Head int    `param:"1"`
    Help string `
Gets the workable height of the head indexed at Head. If the head specified
is not visible, then 0 is returned.

Indexing starts at 0. Heads are ordered by their physical position: left to
right and then top to bottom.
`
}

func (GetHeadHeight) Run

func (cmd GetHeadHeight) Run() gribble.Value

type GetHeadWidth

type GetHeadWidth struct {
    Head int    `param:"1"`
    Help string `
Gets the workable width of the head indexed at Head. If the head specified
is not visible, then 0 is returned.

Indexing starts at 0. Heads are ordered by their physical position: left to
right and then top to bottom.
`
}

func (GetHeadWidth) Run

func (cmd GetHeadWidth) Run() gribble.Value

type GetHeadWorkspace

type GetHeadWorkspace struct {
    Head int    `param:"1"`
    Help string `
Returns the name of the workspace currently visible on the monitor indexed by
Head. Indexing starts at 0. Heads are ordered by their physical position:
left to right and then top to bottom.
`
}

func (GetHeadWorkspace) Run

func (cmd GetHeadWorkspace) Run() gribble.Value

type GetLayout

type GetLayout struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Returns the name of the currently active (or "default") layout on the workspace
specified by Workspace. Note that when a workspace is set to a tiling layout,
it is still possible for clients to be floating.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (GetLayout) Run

func (cmd GetLayout) Run() gribble.Value

type GetNumHeads

type GetNumHeads struct {
    Help string `
Returns the number of active Heads.
`
}

func (GetNumHeads) Run

func (cmd GetNumHeads) Run() gribble.Value

type GetNumHeadsConnected

type GetNumHeadsConnected struct {
    Help string `
Returns the number of Heads connected. This number may be greater
than the number returned by GetNumHeads.
`
}

func (GetNumHeadsConnected) Run

func (cmd GetNumHeadsConnected) Run() gribble.Value

type GetWorkspace

type GetWorkspace struct {
    Help string `
Returns the name of the current workspace.
`
}

func (GetWorkspace) Run

func (cmd GetWorkspace) Run() gribble.Value

type GetWorkspaceId

type GetWorkspaceId struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Returns the id (the index) of the workspace specified by Workspace.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (GetWorkspaceId) Run

func (cmd GetWorkspaceId) Run() gribble.Value

type GetWorkspaceList

type GetWorkspaceList struct {
    Help string `
Returns a list of all workspaces, in the order that they were added.

The special "Sticky" workspace is not included.
`
}

func (GetWorkspaceList) Run

func (cmd GetWorkspaceList) Run() gribble.Value

type GetWorkspaceNext

type GetWorkspaceNext struct {
    Help string `
Returns the name of the "next" workspace. The ordering of workspaces is
the order in which they were added. This might cause confusing behavior in
multi-head setups, since multiple workspaces can be viewable at one time.
`
}

func (GetWorkspaceNext) Run

func (cmd GetWorkspaceNext) Run() gribble.Value

type GetWorkspacePrefix

type GetWorkspacePrefix struct {
    Prefix string `param:"1"`
    Help   string `
Returns the first non-visible workspace starting with Prefix. If the current
workspace starts with Prefix, then the first workspace *after* the current
workspace starting with Prefix will be returned.
`
}

func (GetWorkspacePrefix) Run

func (cmd GetWorkspacePrefix) Run() gribble.Value

type GetWorkspacePrev

type GetWorkspacePrev struct {
    Help string `
Returns the name of the "previous" workspace. The ordering of workspaces is
the order in which they were added. This might cause confusing behavior in
multi-head setups, since multiple workspaces can be viewable at one time.
`
}

func (GetWorkspacePrev) Run

func (cmd GetWorkspacePrev) Run() gribble.Value

type HeadCycle

type HeadCycle struct {
    Help string `
Cycles focus to the next head, ordered by index. Heads are ordered
by their physical position: left to right and then top to bottom.
`
}

func (HeadCycle) Run

func (cmd HeadCycle) Run() gribble.Value

type HeadFocus

type HeadFocus struct {
    Head int    `param:"1"`
    Help string `
Focuses the head indexed at Head. Indexing starts at 0. Heads are ordered
by their physical position: left to right and then top to bottom.
`
}

func (HeadFocus) Run

func (cmd HeadFocus) Run() gribble.Value

type HeadFocusWithClient

type HeadFocusWithClient struct {
    Head   int         `param:"1"`
    Client gribble.Any `param:"2" types:"int,string"`
    Help   string      `
Focuses the head indexed at Head, and move the Client specified by client to
that head. Indexing of heads starts at 0. Heads are ordered by their physical
position: left to right and then top to bottom.

Client may be the window id or a substring that matches a window name.
`
}

func (HeadFocusWithClient) Run

func (cmd HeadFocusWithClient) Run() gribble.Value

type HideClientFromPanels

type HideClientFromPanels struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Sets the appropriate flags so that the window specified by Client is
hidden from panels and pagers.

Client may be the window id or a substring that matches a window name.
`
}

func (HideClientFromPanels) Run

func (cmd HideClientFromPanels) Run() gribble.Value

type Iconify

type Iconify struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Iconifies (minimizes) the window specified by Client. If the window
is already iconified, this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Iconify) Run

func (cmd Iconify) Run() gribble.Value

type Input

type Input struct {
    Label string `param:"1"`
    Help  string `
Shows a centered prompt window that allows the user to type in text. If the
user presses the Confirm Key (i.e., enter), then the text typed into the
input box will be returned.

Label will be shown next to the input box.

This command may be used as a sub-command to pass user provided arguments to
another command.
`
}

func (Input) Run

func (cmd Input) Run() gribble.Value

type MatchClientClass

type MatchClientClass struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Class  string      `param:"2"`
    Help   string      `
Returns 1 if the "class" part of the WM_CLASS property on the window
specified by Client contains the substring specified by Class, and otherwise
returns 0. The search is done case insensitively.

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientClass) Run

func (cmd MatchClientClass) Run() gribble.Value

type MatchClientInstance

type MatchClientInstance struct {
    Client   gribble.Any `param:"1" types:"int,string"`
    Instance string      `param:"2"`
    Help     string      `
Returns 1 if the "instance" part of the WM_CLASS property on the window
specified by Client contains the substring specified by Instance, and otherwise
returns 0. The search is done case insensitively.

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientInstance) Run

func (cmd MatchClientInstance) Run() gribble.Value

type MatchClientIsTransient

type MatchClientIsTransient struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns 1 if the window specified by Client is a transient window, and
otherwise returns 0. A transient window usually corresponds to some kind of
dialog window.

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientIsTransient) Run

func (cmd MatchClientIsTransient) Run() gribble.Value

type MatchClientMapped

type MatchClientMapped struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Returns 1 if the window specified by Client is mapped or not.

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientMapped) Run

func (cmd MatchClientMapped) Run() gribble.Value

type MatchClientName

type MatchClientName struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Name   string      `param:"2"`
    Help   string      `
Returns 1 if the name of the window specified by Client contains the substring
specified by Name, and otherwise returns 0. The search is done case
insensitively.

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientName) Run

func (cmd MatchClientName) Run() gribble.Value

type MatchClientType

type MatchClientType struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Type   string      `param:"2"`
    Help   string      `
Returns 1 if the type of the window specified by Client matches the type
named by Type, and otherwise returns 0.

Valid window types are "Normal", "Dock" or "Desktop".

Client may be the window id or a substring that matches a window name.
`
}

func (MatchClientType) Run

func (cmd MatchClientType) Run() gribble.Value

type Maximize

type Maximize struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Maximizes the window specified by Client. If the window is already maximized,
this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Maximize) Run

func (cmd Maximize) Run() gribble.Value

type Message

type Message struct {
    Text string `param:"1"`
    Help string `
Shows a centered prompt window with the text specified by Text. The message
will not disappear until it loses focus or when the confirm or cancel key
is pressed.
`
}

func (Message) Run

func (cmd Message) Run() gribble.Value

type MouseMove

type MouseMove struct {
    Help string `
Initiates a drag that allows a window to be moved with the mouse.

This is a special command that can only be assigned in Wingo's mouse
configuration file. Invoking this command in any other way has no effect.
`
}

func (MouseMove) Run

func (cmd MouseMove) Run() gribble.Value

type MouseResize

type MouseResize struct {
    Direction string `param:"1"`
    Help      string `
Initiates a drag that allows a window to be resized with the mouse.

Direction specifies how the window should be resized, and what the pointer
should look like. For example, if Direction is set to "BottomRight", then only
the width and height of the window can change---but not the x or y position.

Valid values for Direction are: Infer, Top, Bottom, Left, Right, TopLeft,
TopRight, BottomLeft and BottomRight. When "Infer" is used, the direction
is determined based on where the pointer is on the window when the drag is
initiated.

This is a special command that can only be assigned in Wingo's mouse
configuration file. Invoking this command in any other way has no effect.
`
}

func (MouseResize) Run

func (cmd MouseResize) Run() gribble.Value

type Move

type Move struct {
    Client gribble.Any `param:"1" types:"int,string"`
    X      gribble.Any `param:"2" types:"int,float"`
    Y      gribble.Any `param:"3" types:"int,float"`
    Help   string      `
Moves the window specified by Client to the x and y position specified by
X and Y. Note that the origin is located in the top left corner.

X and Y may either be pixels (integers) or ratios in the range 0.0 to
1.0 (specifically, (0.0, 1.0]). Ratios are measured with respect to the
window's workspace's geometry.

Client may be the window id or a substring that matches a window name.
`
}

func (Move) Run

func (cmd Move) Run() gribble.Value

type MovePointer

type MovePointer struct {
    X    int    `param:"1"`
    Y    int    `param:"2"`
    Help string `
Moves the pointer to the x and y position specified by X and Y. Note the the
origin is located in the top left corner.
`
}

func (MovePointer) Run

func (cmd MovePointer) Run() gribble.Value

type MovePointerRelative

type MovePointerRelative struct {
    X    gribble.Any `param:"1" types:"int,float"`
    Y    gribble.Any `param:"2" types:"int,float"`
    Help string      `
Moves the pointer to the x and y position specified by X and Y relative to the
current workspace. Note the the origin is located in the top left corner of
the current workspace.

X and Y may either be pixels (integers) or ratios in the range 0.0 to
1.0 (specifically, (0.0, 1.0]). Ratios are measured with respect to the
workspace's geometry.
`
}

func (MovePointerRelative) Run

func (cmd MovePointerRelative) Run() gribble.Value

type MoveRelative

type MoveRelative struct {
    Client gribble.Any `param:"1" types:"int,string"`
    X      gribble.Any `param:"2" types:"int,float"`
    Y      gribble.Any `param:"3" types:"int,float"`
    Help   string      `
Moves the window specified by Client to the x and y position specified by
X and Y, relative to its workspace. Note that the origin is located in the top
left corner of the client's workspace.

X and Y may either be pixels (integers) or ratios in the range 0.0 to
1.0 (specifically, (0.0, 1.0]). Ratios are measured with respect to the
window's workspace's geometry.

Client may be the window id or a substring that matches a window name.
`
}

func (MoveRelative) Run

func (cmd MoveRelative) Run() gribble.Value

type Not

type Not struct {
    Op   int    `param:"1"`
    Help string `
Returns the negation of Op. When Op is 0, Not returns 1. When Op is 1, Not
returns 0.

If Op is not in {0, 1}, then a warning is logged and nil is returned.
`
}

func (Not) Run

func (cmd Not) Run() gribble.Value

type Or

type Or struct {
    Op1  int    `param:"1"`
    Op2  int    `param:"2"`
    Help string `
Returns the logical OR of Op1 and Op2.

If Op1 or Op2 is not in {0, 1}, then a warning is logged and nil is returned.
`
}

func (Or) Run

func (cmd Or) Run() gribble.Value

type Quit

type Quit struct {
    Help string `
Stops Wingo.
`
}

func (Quit) Run

func (cmd Quit) Run() gribble.Value

type Raise

type Raise struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Raises the window specified by Client to the top of its layer.

Client may be the window id or a substring that matches a window name.
`
}

func (Raise) Run

func (cmd Raise) Run() gribble.Value

type RemoveWorkspace

type RemoveWorkspace struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Removes the workspace specified by Workspace. Note that a workspace can *only*
be removed if it is empty (i.e., does not contain any windows).

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (RemoveWorkspace) Run

func (cmd RemoveWorkspace) Run() gribble.Value

type RenameWorkspace

type RenameWorkspace struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    NewName   string      `param:"2"`
    Help      string      `
Renames the workspace specified by Workspace to the name in NewName.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
NewName can only be a string.
`
}

func (RenameWorkspace) Run

func (cmd RenameWorkspace) Run() gribble.Value

type Resize

type Resize struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Width  gribble.Any `param:"2" types:"int,float"`
    Height gribble.Any `param:"3" types:"int,float"`
    Help   string      `
Resizes the window specified by Client to some width and height specified by
Width and Height.

Width and Height may either be pixels (integers) or ratios in the range 0.0 to
1.0 (specifically, (0.0, 1.0]). Ratios are measured with respect to the
window's workspace's geometry.

Client may be the window id or a substring that matches a window name.
`
}

func (Resize) Run

func (cmd Resize) Run() gribble.Value

type Restart

type Restart struct {
    Help string `
Restarts Wingo in place using exec. This should be used to reload Wingo
after you've made changes to its configuration.
`
}

func (Restart) Run

func (cmd Restart) Run() gribble.Value

type Script

type Script struct {
    Command string `param:"1"`
    Help    string `
Executes a script in $XDG_CONFIG_HOME/wingo/scripts. The command
may include arguments.
`
}

func (Script) Run

func (cmd Script) Run() gribble.Value

type ScriptConfig

type ScriptConfig struct {
    ScriptName string `param:"1"`
    Help       string `
Returns the path to a script's configuration file.
`
}

func (ScriptConfig) Run

func (cmd ScriptConfig) Run() gribble.Value

type SelectClient

type SelectClient struct {
    TabCompletion       string `param:"1"`
    OnlyActiveWorkspace string `param:"2"`
    OnlyVisible         string `param:"3"`
    ShowIconified       string `param:"4"`
    Help                string `
Shows a centered prompt window with a list of clients satisfying the arguments
provided.

OnlyActiveWorkspace specifies that only clients on the current workspace should
be listed. Valid values are "yes" or "no".

OnlyVisible specifies that only clients on visible workspaces should be listed.
Valid values are "yes" or "no".

ShowIconified specifies that iconified clients will be shown. Valid values are
"yes" or "no".

TabCompletetion can be set to either "Prefix", "Any" or "Multiple". When it's
set to "Prefix", the clients can be searched by a prefix matching string. When
it's set to "Any", the clients can be searched by a substring matching string.
When it's set to "Multiple", the clients can be searched by multiple space-
separated substring matching strings.

This command may be used as a sub-command to pass a particular client to
another command.
`
}

func (SelectClient) Run

func (cmd SelectClient) Run() gribble.Value

type SelectWorkspace

type SelectWorkspace struct {
    TabCompletion string `param:"1"`
    Help          string `
Shows a centered prompt window with a list of all workspaces.

TabCompletetion can be set to either "Prefix", "Any" or "Multiple". When it's
set to "Prefix", the clients can be searched by a prefix matching string. When
it's set to "Any", the clients can be searched by a substring matching string.
When it's set to "Multiple", the clients can be searched by multiple space-
separated substring matching strings.

This command may be used as a sub-command to pass a particular workspace to
another command.
`
}

func (SelectWorkspace) Run

func (cmd SelectWorkspace) Run() gribble.Value

type SetLayout

type SetLayout struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Name      string      `param:"2"`
    Help      string      `
Sets the current layout of the workspace specified by Workspace to the layout
named by Name. If a layout with name Name does not exist, this command has
no effect.

Note that this command has no effect if the workspace is not visible.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (SetLayout) Run

func (cmd SetLayout) Run() gribble.Value

type SetOpacity

type SetOpacity struct {
    Client  gribble.Any `param:"1" types:"int,string"`
    Opacity float64     `param:"2"`
    Help    string      `
Sets the opacity of the window specified by Client to the opacity level
specified by Opacity.

This command won't have any effect unless you're running a compositing manager
like compton or cairo-compmgr.

Client may be the window id or a substring that matches a window name.

Opacity should be a float in the range 0.0 to 1.0, inclusive, where 0.0 is
completely transparent and 1.0 is completely opaque.
`
}

func (SetOpacity) Run

func (cmd SetOpacity) Run() gribble.Value

type Shell

type Shell struct {
    Command string `param:"1"`
    Help    string `
Attempts to execute the shell command specified by Command. If an error occurs,
it will be logged to Wingo's stderr.
`
}

func (Shell) Run

func (cmd Shell) Run() gribble.Value

type ShowClientInPanels

type ShowClientInPanels struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Sets the appropriate flags so that the window specified by Client is
shown on panels and pagers.

Client may be the window id or a substring that matches a window name.
`
}

func (ShowClientInPanels) Run

func (cmd ShowClientInPanels) Run() gribble.Value

type TagGet

type TagGet struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Name   string      `param:"2"`
    Help   string      `
Retrieves the tag with name Name for the client specified by Client.

Client may be the window id or a substring that matches a window name.
Or, it may be zero and the property will be retrieved from the root
window.

Tag names may only contain the following characters: [-a-zA-Z0-9_].
`
}

func (TagGet) Run

func (cmd TagGet) Run() gribble.Value

type TagSet

type TagSet struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Name   string      `param:"2"`
    Value  string      `param:"3"`
    Help   string      `
Sets the tag with name Name to value Value for the client specified by Client.

Client may be the window id or a substring that matches a window name.
Or, it may be zero and the property will be set on the root window.

Tag names may only contain the following characters: [-a-zA-Z0-9_].
`
}

func (TagSet) Run

func (cmd TagSet) Run() gribble.Value

type ToggleFloating

type ToggleFloating struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Toggles whether the window specified by Client should be forced into the
floating layout. A window forced into the floating layout CANNOT be tiled.

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleFloating) Run

func (cmd ToggleFloating) Run() gribble.Value

type ToggleIconify

type ToggleIconify struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Iconifies (minimizes) or deiconifies (unminimizes) the window specified by
Client.

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleIconify) Run

func (cmd ToggleIconify) Run() gribble.Value

type ToggleMaximize

type ToggleMaximize struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Maximizes or restores the window specified by Client.

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleMaximize) Run

func (cmd ToggleMaximize) Run() gribble.Value

type ToggleStackAbove

type ToggleStackAbove struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Toggles the layer of the window specified by Client from normal to above. When
a window is in the "above" layer, it will always be above other (normal)
clients.

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleStackAbove) Run

func (cmd ToggleStackAbove) Run() gribble.Value

type ToggleStackBelow

type ToggleStackBelow struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Toggles the layer of the window specified by Client from normal to below. When
a window is in the "below" layer, it will always be below other (normal)
clients.

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleStackBelow) Run

func (cmd ToggleStackBelow) Run() gribble.Value

type ToggleSticky

type ToggleSticky struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Toggles the sticky status of the window specified by Client. When a window is
sticky, it will always be visible unless iconified. (i.e., it does not belong
to any particular workspace.)

Client may be the window id or a substring that matches a window name.
`
}

func (ToggleSticky) Run

func (cmd ToggleSticky) Run() gribble.Value

type True

type True struct {
    Help string `
Always returns 1.
`
}

func (True) Run

func (cmd True) Run() gribble.Value

type Unfloat

type Unfloat struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Unfloats the window specified by Client. If the window is not floating,
this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Unfloat) Run

func (cmd Unfloat) Run() gribble.Value

type Unmaximize

type Unmaximize struct {
    Client gribble.Any `param:"1" types:"int,string"`
    Help   string      `
Unmaximizes the window specified by Client. If the window is not maximized,
this command has no effect.

Client may be the window id or a substring that matches a window name.
`
}

func (Unmaximize) Run

func (cmd Unmaximize) Run() gribble.Value

type WingoExec

type WingoExec struct {
    Commands string `param:"1"`
    Help     string `
Executes a series of Wingo commands specified by Commands. If an error occurs
while executing the command, it will be shown in a popup message.
`
}

func (WingoExec) Run

func (cmd WingoExec) Run() gribble.Value

type WingoHelp

type WingoHelp struct {
    CommandName string `param:"1"`
    Help        string `
Shows the usage information for a particular command specified by CommandName.
`
}

func (WingoHelp) Run

func (cmd WingoHelp) Run() gribble.Value

type Workspace

type Workspace struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Sets the current workspace to the one specified by Workspace.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (Workspace) Run

func (cmd Workspace) Run() gribble.Value

type WorkspaceGreedy

type WorkspaceGreedy struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Sets the current workspace to the one specified by Workspace in a greedy
fashion.

A greedy switch *always* brings the specified workspace to the
currently focused head. (N.B. Greedy is only different when switching between
two visible workspaces.)

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (WorkspaceGreedy) Run

func (cmd WorkspaceGreedy) Run() gribble.Value

type WorkspaceGreedyWithClient

type WorkspaceGreedyWithClient struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Client    gribble.Any `param:"2" types:"int,string"`
    Help      string      `
Sets the current workspace to the workspace specified by Workspace in a greedy
fashion, and moves the window specified by Client to that workspace.

A greedy switch *always* brings the specified workspace to the
currently focused head. (N.B. Greedy is only different when switching between
two visible workspaces.)

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.

Client may be the window id or a substring that matches a window name.
`
}

func (WorkspaceGreedyWithClient) Run

func (cmd WorkspaceGreedyWithClient) Run() gribble.Value

type WorkspaceHead

type WorkspaceHead struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Help      string      `
Retrieves the head index of the workspace specified by Workspace. If the
workspace is not visible, then -1 is returned.

Head indexing starts at 0. Heads are ordered by their physical position: left
to right and then top to bottom.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.
`
}

func (WorkspaceHead) Run

func (cmd WorkspaceHead) Run() gribble.Value

type WorkspaceSendClient

type WorkspaceSendClient struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Client    gribble.Any `param:"2" types:"int,string"`
    Help      string      `
Sends the window specified by Client to the workspace specified by Workspace.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.

Client may be the window id or a substring that matches a window name.
`
}

func (WorkspaceSendClient) Run

func (cmd WorkspaceSendClient) Run() gribble.Value

type WorkspaceToHead

type WorkspaceToHead struct {
    Head      int         `param:"1"`
    Workspace gribble.Any `param:"2" types:"int,string"`
    Help      string      `
Sets the workspace specified by Workspace to appear on the head specified by
the Head index.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.

Head indexing starts at 0. Heads are ordered by their physical position: left
to right and then top to bottom.
`
}

func (WorkspaceToHead) Run

func (cmd WorkspaceToHead) Run() gribble.Value

type WorkspaceWithClient

type WorkspaceWithClient struct {
    Workspace gribble.Any `param:"1" types:"int,string"`
    Client    gribble.Any `param:"2" types:"int,string"`
    Help      string      `
Sets the current workspace to the workspace specified by Workspace, and moves
the window specified by Client to that workspace.

Workspace may be a workspace index (integer) starting at 0, or a workspace
name.

Client may be the window id or a substring that matches a window name.
`
}

func (WorkspaceWithClient) Run

func (cmd WorkspaceWithClient) Run() gribble.Value

Bugs