Enum leftwm::BaseCommand
source · pub enum BaseCommand {
Show 51 variants
Execute,
CloseWindow,
CloseAllOtherWindows,
SwapTags,
SoftReload,
HardReload,
AttachScratchPad,
ReleaseScratchPad,
NextScratchPadWindow,
PrevScratchPadWindow,
ToggleScratchPad,
ToggleFullScreen,
ToggleMaximized,
ToggleSticky,
ToggleAbove,
GotoTag,
ReturnToLastTag,
FloatingToTile,
TileToFloating,
ToggleFloating,
MoveWindowUp,
MoveWindowDown,
MoveWindowTop,
SwapWindowTop,
FocusNextTag,
FocusPreviousTag,
FocusWindow,
FocusWindowUp,
FocusWindowDown,
FocusWindowTop,
FocusWorkspaceNext,
FocusWorkspacePrevious,
MoveToTag,
MoveWindowToNextTag,
MoveWindowToPreviousTag,
MoveToLastWorkspace,
MoveWindowToNextWorkspace,
MoveWindowToPreviousWorkspace,
NextLayout,
PreviousLayout,
SetLayout,
RotateTag,
IncreaseMainWidth,
DecreaseMainWidth,
IncreaseMainSize,
DecreaseMainSize,
IncreaseMainCount,
DecreaseMainCount,
SetMarginMultiplier,
UnloadTheme,
LoadTheme,
}
Variants§
Execute
CloseWindow
CloseAllOtherWindows
SwapTags
SoftReload
HardReload
AttachScratchPad
Args:
ReleaseScratchPad
Args: <tag_index> or
NextScratchPadWindow
Args:
PrevScratchPadWindow
Args:
ToggleScratchPad
Args:
ToggleFullScreen
ToggleMaximized
ToggleSticky
ToggleAbove
GotoTag
ReturnToLastTag
FloatingToTile
TileToFloating
ToggleFloating
MoveWindowUp
MoveWindowDown
MoveWindowTop
SwapWindowTop
FocusNextTag
Args:
FocusPreviousTag
Args:
FocusWindow
Args:
FocusWindowUp
FocusWindowDown
FocusWindowTop
FocusWorkspaceNext
FocusWorkspacePrevious
MoveToTag
Args: <tag_index> (int)
Note: Please use SendWindowToTag
instead.
MoveWindowToNextTag
MoveWindowToPreviousTag
MoveToLastWorkspace
MoveWindowToNextWorkspace
MoveWindowToPreviousWorkspace
NextLayout
PreviousLayout
SetLayout
Args:
RotateTag
IncreaseMainWidth
Note: This is deprecated and will be dropped in a future release.
DecreaseMainWidth
Note: This is deprecated and will be dropped in a future release.
IncreaseMainSize
DecreaseMainSize
IncreaseMainCount
DecreaseMainCount
SetMarginMultiplier
Args:
UnloadTheme
LoadTheme
Args: <Path_to/theme.ron>
Note: theme.toml
will be deprecated but stays for backwards compatibility for a while
Implementations§
source§impl BaseCommand
impl BaseCommand
pub fn variant_names() -> Vec<String>
Trait Implementations§
source§impl Clone for BaseCommand
impl Clone for BaseCommand
source§fn clone(&self) -> BaseCommand
fn clone(&self) -> BaseCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BaseCommand
impl Debug for BaseCommand
source§impl<'de> Deserialize<'de> for BaseCommand
impl<'de> Deserialize<'de> for BaseCommand
source§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
source§impl From<BaseCommand> for String
impl From<BaseCommand> for String
source§fn from(command: BaseCommand) -> Self
fn from(command: BaseCommand) -> Self
Converts to this type from the input type.
source§impl Hash for BaseCommand
impl Hash for BaseCommand
source§impl PartialEq for BaseCommand
impl PartialEq for BaseCommand
source§fn eq(&self, other: &BaseCommand) -> bool
fn eq(&self, other: &BaseCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BaseCommand
impl Serialize for BaseCommand
impl Copy for BaseCommand
impl Eq for BaseCommand
impl StructuralEq for BaseCommand
impl StructuralPartialEq for BaseCommand
Auto Trait Implementations§
impl RefUnwindSafe for BaseCommand
impl Send for BaseCommand
impl Sync for BaseCommand
impl Unpin for BaseCommand
impl UnwindSafe for BaseCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.