pub enum BaseCommand {
Show 53 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,
FocusWindowAt,
FocusWorkspaceNext,
FocusWorkspacePrevious,
MoveToTag,
MoveWindowToNextTag,
MoveWindowToPreviousTag,
MoveToLastWorkspace,
MoveWindowToNextWorkspace,
MoveWindowToPreviousWorkspace,
MoveWindowAt,
NextLayout,
PreviousLayout,
SetLayout,
RotateTag,
IncreaseMainWidth,
DecreaseMainWidth,
IncreaseMainSize,
DecreaseMainSize,
IncreaseMainCount,
DecreaseMainCount,
SetMarginMultiplier,
UnloadTheme,
LoadTheme,
}
Variants§
Execute
CloseWindow
CloseAllOtherWindows
SwapTags
SoftReload
HardReload
AttachScratchPad
Args: ScratchpadName
ReleaseScratchPad
Args: tag_index
or ScratchpadName
NextScratchPadWindow
Args: ScratchpadName
PrevScratchPadWindow
Args: ScratchpadName
ToggleScratchPad
Args: ScratchpadName
ToggleFullScreen
ToggleMaximized
ToggleSticky
ToggleAbove
GotoTag
ReturnToLastTag
FloatingToTile
TileToFloating
ToggleFloating
MoveWindowUp
MoveWindowDown
MoveWindowTop
SwapWindowTop
FocusNextTag
Args: behavior
(string, optional)
FocusPreviousTag
Args: behavior
(string, optional)
FocusWindow
Args: WindowClass
or visible-window-index
(int)
FocusWindowUp
FocusWindowDown
FocusWindowTop
FocusWindowAt
Args: direction
(string, optional)
FocusWorkspaceNext
FocusWorkspacePrevious
MoveToTag
Args: tag_index
(int)
Note: Please use SendWindowToTag
instead.
MoveWindowToNextTag
MoveWindowToPreviousTag
MoveToLastWorkspace
MoveWindowToNextWorkspace
MoveWindowToPreviousWorkspace
MoveWindowAt
Args: direction
(string, optional)
NextLayout
PreviousLayout
SetLayout
Args: LayoutName
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: multiplier-value
(float)
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 const fn documentation() -> &'static str
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§impl Serialize for BaseCommand
impl Serialize for BaseCommand
impl Copy for BaseCommand
impl Eq for BaseCommand
impl StructuralPartialEq for BaseCommand
Auto Trait Implementations§
impl Freeze for BaseCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.