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
Switch to next urgent window (if any) or to last recently used window.
Focus the selected window.
Focus the next window in LRU order.
Fields of NextWindow
windows: ConsiderWindows
Focus the previous window in LRU order.
Fields of PrevWindow
windows: ConsiderWindows
Focus the next window of a tiled container.
Fields of NextTiledWindow
windows: ConsiderWindows
Focus the previous window of a tiled container.
Fields of PrevTiledWindow
windows: ConsiderWindows
Focus the next window of a tabbed or stacked container.
Fields of NextTabbedOrStackedWindow
windows: ConsiderWindows
Focus the previous window of a tabbed or stacked container.
Fields of PrevTabbedOrStackedWindow
windows: ConsiderWindows
Focus the next floating window.
Fields of NextFloatingWindow
windows: ConsiderWindows
Focus the previous floating window.
Fields of PrevFloatingWindow
windows: ConsiderWindows
Focus the next window having the same layout as the current one.
Fields of NextWindowOfSameLayout
windows: ConsiderWindows
Focus the previous window having the same layout as the current one.
Fields of PrevWindowOfSameLayout
windows: ConsiderWindows
Quit the selected window.
Switch to the selected workspace.
Switch to the selected workspace or focus the selected window.
Quit all windows of selected workspace or the selected window.
Move the currently focused window or container to the selected workspace.
Tab or shuffle-and-tile the windows on the current workspace, including or excluding floating windows.
Fields of ToggleTabShuffleTileWorkspace
floating: ConsiderFloating
Tiles the windows on the current workspace, including or excluding floating windows.
Fields of TileWorkspace
floating: ConsiderFloating
Tabs the windows on the current workspace, including or excluding floating windows.
Fields of TabWorkspace
floating: ConsiderFloating
Shuffles and tiles the windows on the current workspace, including or excluding floating windows.
Fields of ShuffleTileWorkspace
floating: ConsiderFloating
Select and execute a swaymsg command.
Select and execute a swayr command.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
.
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Test whether Self
can parse a specific subcommand