Enum swayr::ipc::SwayrCommand[][src]

pub enum SwayrCommand {
    SwitchToUrgentOrLRUWindow,
    SwitchWindow,
    NextWindow,
    PrevWindow,
    QuitWindow,
    SwitchWorkspace,
    SwitchWorkspaceOrWindow,
    QuitWorkspaceOrWindow,
    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.

PrevWindow

Focus the previous window.

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

ExecuteSwaymsgCommand

Select and execute a swaymsg command

ExecuteSwayrCommand

Select and execute a swayr command

Trait Implementations

impl ArgEnum for SwayrCommand[src]

impl Clap for SwayrCommand[src]

impl Debug for SwayrCommand[src]

impl<'de> Deserialize<'de> for SwayrCommand[src]

impl Display for SwayrCommand[src]

impl FromArgMatches for SwayrCommand[src]

impl IntoApp for SwayrCommand[src]

impl Serialize for SwayrCommand[src]

impl Subcommand for SwayrCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.