Enum swayr::cmds::SwayrCommand[][src]

pub enum SwayrCommand {
Show 23 variants SwitchToUrgentOrLRUWindow, SwitchWindow, NextWindow { windows: ConsiderWindows, }, PrevWindow { windows: ConsiderWindows, }, NextTiledWindow { windows: ConsiderWindows, }, PrevTiledWindow { windows: ConsiderWindows, }, NextTabbedOrStackedWindow { windows: ConsiderWindows, }, PrevTabbedOrStackedWindow { windows: ConsiderWindows, }, NextFloatingWindow { windows: ConsiderWindows, }, PrevFloatingWindow { windows: ConsiderWindows, }, NextWindowOfSameLayout { windows: ConsiderWindows, }, PrevWindowOfSameLayout { windows: ConsiderWindows, }, QuitWindow, SwitchWorkspace, SwitchWorkspaceOrWindow, QuitWorkspaceOrWindow, MoveFocusedToWorkspace, ToggleTabShuffleTileWorkspace { floating: ConsiderFloating, }, TileWorkspace { floating: ConsiderFloating, }, TabWorkspace { floating: ConsiderFloating, }, ShuffleTileWorkspace { floating: ConsiderFloating, }, ExecuteSwaymsgCommand, ExecuteSwayrCommand,
}

Variants

SwitchToUrgentOrLRUWindow

Switch to next urgent window (if any) or to last recently used window.

SwitchWindow

Focus the selected window.

NextWindow

Focus the next window in LRU order.

Fields of NextWindow

windows: ConsiderWindows
PrevWindow

Focus the previous window in LRU order.

Fields of PrevWindow

windows: ConsiderWindows
NextTiledWindow

Focus the next window of a tiled container.

Fields of NextTiledWindow

windows: ConsiderWindows
PrevTiledWindow

Focus the previous window of a tiled container.

Fields of PrevTiledWindow

windows: ConsiderWindows
NextTabbedOrStackedWindow

Focus the next window of a tabbed or stacked container.

Fields of NextTabbedOrStackedWindow

windows: ConsiderWindows
PrevTabbedOrStackedWindow

Focus the previous window of a tabbed or stacked container.

Fields of PrevTabbedOrStackedWindow

windows: ConsiderWindows
NextFloatingWindow

Focus the next floating window.

Fields of NextFloatingWindow

windows: ConsiderWindows
PrevFloatingWindow

Focus the previous floating window.

Fields of PrevFloatingWindow

windows: ConsiderWindows
NextWindowOfSameLayout

Focus the next window having the same layout as the current one.

Fields of NextWindowOfSameLayout

windows: ConsiderWindows
PrevWindowOfSameLayout

Focus the previous window having the same layout as the current one.

Fields of PrevWindowOfSameLayout

windows: ConsiderWindows
QuitWindow

Quit the selected window.

SwitchWorkspace

Switch to the selected workspace.

SwitchWorkspaceOrWindow

Switch to the selected workspace or focus the selected window.

QuitWorkspaceOrWindow

Quit all windows of selected workspace or the selected window.

MoveFocusedToWorkspace

Move the currently focused window or container to the selected workspace.

ToggleTabShuffleTileWorkspace

Tab or shuffle-and-tile the windows on the current workspace, including or excluding floating windows.

Fields of ToggleTabShuffleTileWorkspace

floating: ConsiderFloating
TileWorkspace

Tiles the windows on the current workspace, including or excluding floating windows.

Fields of TileWorkspace

floating: ConsiderFloating
TabWorkspace

Tabs the windows on the current workspace, including or excluding floating windows.

Fields of TabWorkspace

floating: ConsiderFloating
ShuffleTileWorkspace

Shuffles and tiles the windows on the current workspace, including or excluding floating windows.

Fields of ShuffleTileWorkspace

floating: ConsiderFloating
ExecuteSwaymsgCommand

Select and execute a swaymsg command.

ExecuteSwayrCommand

Select and execute a swayr command.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Build an App that can instantiate Self. Read more

Build an App that can update self. Read more

Parse from std::env::args_os(), exit on error

Parse from std::env::args_os(), return Err on error.

Parse from iterator, exit on error

Parse from iterator, return Err on error.

Update from iterator, exit on error

Update from iterator, return Err on error.

Serialize this value into the given Serde serializer. Read more

Append to App so it can instantiate Self. Read more

Append to App so it can update self. Read more

Test whether Self can parse a specific subcommand

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.