Enum marswm::bindings::BindingAction
source · pub enum BindingAction {
Show 28 variants
CenterClient,
ChangeMainRatio(f32),
CloseClient,
CycleClient(i32),
CycleLayout,
CycleMonitor(i32),
CycleWorkspace(i32),
Execute(String),
Exit,
FocusMain,
IncGaps(i32),
IncNMain(i32),
MouseMove,
MousePlace,
MouseResize,
MouseResizeCentered,
MoveMain,
MoveMonitor(i32),
MoveWorkspace(u32),
PreviousWorkspace,
Restart,
SetLayout(LayoutType),
SetStackMode(StackMode),
SetStackPosition(StackPosition),
StackMove(i32),
SwitchWorkspace(u32),
ToggleFloating,
ToggleFullscreen,
}
Expand description
Actions for key bindings, button bindings and window rules.
Note that the configuration files use kebab-case
convention for enum variants.
Variants§
CenterClient
Center the current client on the screen
ChangeMainRatio(f32)
Change the ration between main and stack area
CloseClient
Close the client
CycleClient(i32)
Cycle through clients
CycleLayout
Switch through the different layouts
CycleMonitor(i32)
Switch monitor (relative to the current monitor)
CycleWorkspace(i32)
Cycle through workspaces
Execute(String)
Execute a command in the system shell
Exit
Exit the window manager
FocusMain
Switch between the last focused window of the main and stack area
IncGaps(i32)
Increase or decrease the gap width of the current workspace
IncNMain(i32)
Increase or decrease the number of clients in the main area
MouseMove
Move the client with the mouse
MousePlace
Place a window with the mouse
MouseResize
Resize a window with the mouse
MouseResizeCentered
Resize a window around its center
MoveMain
Move client to/from the main area
MoveMonitor(i32)
Move the client to a different monitor (relative to the current monitor)
MoveWorkspace(u32)
Move the client to a different workspace
PreviousWorkspace
Switch to the previously focused workspace
Restart
Restart the window manager
SetLayout(LayoutType)
Set the layout
SetStackMode(StackMode)
Set the stack mode for the dynamic layout
SetStackPosition(StackPosition)
Set the stack position for the dynamic layout
StackMove(i32)
Move the client up or down the stack
SwitchWorkspace(u32)
Switch to a different workspace
ToggleFloating
Toggle floating state on the window
ToggleFullscreen
Toggle fullscreen state on the window
Implementations§
Trait Implementations§
source§impl Clone for BindingAction
impl Clone for BindingAction
source§fn clone(&self) -> BindingAction
fn clone(&self) -> BindingAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BindingAction
impl Debug for BindingAction
source§impl<'de> Deserialize<'de> for BindingAction
impl<'de> Deserialize<'de> for BindingAction
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>,
source§impl PartialEq<BindingAction> for BindingAction
impl PartialEq<BindingAction> for BindingAction
source§fn eq(&self, other: &BindingAction) -> bool
fn eq(&self, other: &BindingAction) -> bool
self
and other
values to be equal, and is used
by ==
.