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

pub enum SwayrCommand {
Show 30 variants SwitchToUrgentOrLRUWindow, SwitchWindow, SwitchWorkspace, SwitchOutput, SwitchWorkspaceOrWindow, SwitchWorkspaceContainerOrWindow, SwitchTo, QuitWindow, QuitWorkspaceOrWindow, QuitWorkspaceContainerOrWindow, 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, }, MoveFocusedToWorkspace, MoveFocusedTo, SwapFocusedWith, ToggleTabShuffleTileWorkspace { floating: ConsiderFloating, }, TileWorkspace { floating: ConsiderFloating, }, TabWorkspace { floating: ConsiderFloating, }, ShuffleTileWorkspace { floating: ConsiderFloating, }, ExecuteSwaymsgCommand, ExecuteSwayrCommand, ConfigureOutputs,
}

Variants

SwitchToUrgentOrLRUWindow

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

SwitchWindow

Focus the selected window.

SwitchWorkspace

Switch to the selected workspace.

SwitchOutput

Switch to the selected workspace.

SwitchWorkspaceOrWindow

Switch to the selected workspace or focus the selected window.

SwitchWorkspaceContainerOrWindow

Switch to the selected workspace or focus the selected container, or window.

SwitchTo

Switch to the selected output or workspace or focus the selected container, or window.

QuitWindow

Quit the selected window.

QuitWorkspaceOrWindow

Quit all windows of selected workspace or the selected window.

QuitWorkspaceContainerOrWindow

Quit all windows of selected workspace, or container or the selected window.

NextWindow

Fields

windows: ConsiderWindows

Focus the next window in LRU order.

PrevWindow

Fields

windows: ConsiderWindows

Focus the previous window in LRU order.

NextTiledWindow

Fields

windows: ConsiderWindows

Focus the next window of a tiled container.

PrevTiledWindow

Fields

windows: ConsiderWindows

Focus the previous window of a tiled container.

NextTabbedOrStackedWindow

Fields

windows: ConsiderWindows

Focus the next window of a tabbed or stacked container.

PrevTabbedOrStackedWindow

Fields

windows: ConsiderWindows

Focus the previous window of a tabbed or stacked container.

NextFloatingWindow

Fields

windows: ConsiderWindows

Focus the next floating window.

PrevFloatingWindow

Fields

windows: ConsiderWindows

Focus the previous floating window.

NextWindowOfSameLayout

Fields

windows: ConsiderWindows

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

PrevWindowOfSameLayout

Fields

windows: ConsiderWindows

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

MoveFocusedToWorkspace

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

MoveFocusedTo

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

SwapFocusedWith

Swap the currently focused window or container with the selected container or window.

ToggleTabShuffleTileWorkspace

Fields

floating: ConsiderFloating

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

TileWorkspace

Fields

floating: ConsiderFloating

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

TabWorkspace

Fields

floating: ConsiderFloating

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

ShuffleTileWorkspace

Fields

floating: ConsiderFloating

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

ExecuteSwaymsgCommand

Select and execute a swaymsg command.

ExecuteSwayrCommand

Select and execute a swayr command.

ConfigureOutputs

Configure outputs.

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.

👎 Deprecated since 3.0.0:

StructOpt::clap is replaced with IntoApp::into_app (derived as part of Parser)

Deprecated, StructOpt::clap replaced with IntoApp::into_app (derive as part of Parser) Read more

👎 Deprecated since 3.0.0:

StructOpt::clap is replaced with IntoApp::into_app (derived as part of Parser)

Deprecated, StructOpt::from_clap replaced with FromArgMatches::from_arg_matches (derive as part of Parser) Read more

👎 Deprecated since 3.0.0:

StructOpt::from_args is replaced with Parser::parse (note the change in derives)

Deprecated, StructOpt::from_args replaced with Parser::parse (note the change in derives)

👎 Deprecated since 3.0.0:

StructOpt::from_args_safe is replaced with Parser::try_parse (note the change in derives)

Deprecated, StructOpt::from_args_safe replaced with Parser::try_parse (note the change in derives)

👎 Deprecated since 3.0.0:

StructOpt::from_iter is replaced with Parser::parse_from (note the change in derives)

Deprecated, StructOpt::from_iter replaced with Parser::parse_from (note the change in derives)

👎 Deprecated since 3.0.0:

StructOpt::from_iter_safe is replaced with Parser::try_parse_from (note the change in derives)

Deprecated, StructOpt::from_iter_safe replaced with Parser::try_parse_from (note the change in derives) Read more

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.