mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-15 01:22:56 +02:00
refactor(wm): renaming SwapWorkspacesToMonitor to SwapWorkspacesWithMonitor
This commit is contained in:
@@ -154,7 +154,7 @@ gen_target_subcommand_args! {
|
|||||||
FocusWorkspace,
|
FocusWorkspace,
|
||||||
FocusWorkspaces,
|
FocusWorkspaces,
|
||||||
MoveWorkspaceToMonitor,
|
MoveWorkspaceToMonitor,
|
||||||
SwapWorkspacesToMonitor,
|
SwapWorkspacesWithMonitor,
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! gen_named_target_subcommand_args {
|
macro_rules! gen_named_target_subcommand_args {
|
||||||
@@ -808,9 +808,9 @@ enum SubCommand {
|
|||||||
/// Move the focused workspace to the specified monitor
|
/// Move the focused workspace to the specified monitor
|
||||||
#[clap(arg_required_else_help = true)]
|
#[clap(arg_required_else_help = true)]
|
||||||
MoveWorkspaceToMonitor(MoveWorkspaceToMonitor),
|
MoveWorkspaceToMonitor(MoveWorkspaceToMonitor),
|
||||||
/// Swap focused monitior workspaces with specified monitor
|
/// Swap focused monitor workspaces with specified monitor
|
||||||
#[clap(arg_required_else_help = true)]
|
#[clap(arg_required_else_help = true)]
|
||||||
SwapWorkspacesToMonitor(SwapWorkspacesToMonitor),
|
SwapWorkspacesWithMonitor(SwapWorkspacesWithMonitor),
|
||||||
/// Create and append a new workspace on the focused monitor
|
/// Create and append a new workspace on the focused monitor
|
||||||
NewWorkspace,
|
NewWorkspace,
|
||||||
/// Set the resize delta (used by resize-edge and resize-axis)
|
/// Set the resize delta (used by resize-edge and resize-axis)
|
||||||
@@ -1196,7 +1196,7 @@ fn main() -> Result<()> {
|
|||||||
SubCommand::MoveWorkspaceToMonitor(arg) => {
|
SubCommand::MoveWorkspaceToMonitor(arg) => {
|
||||||
send_message(&SocketMessage::MoveWorkspaceToMonitorNumber(arg.target).as_bytes()?)?;
|
send_message(&SocketMessage::MoveWorkspaceToMonitorNumber(arg.target).as_bytes()?)?;
|
||||||
}
|
}
|
||||||
SubCommand::SwapWorkspacesToMonitor(arg) => {
|
SubCommand::SwapWorkspacesWithMonitor(arg) => {
|
||||||
send_message(&SocketMessage::SwapWorkspacesToMonitorNumber(arg.target).as_bytes()?)?;
|
send_message(&SocketMessage::SwapWorkspacesToMonitorNumber(arg.target).as_bytes()?)?;
|
||||||
}
|
}
|
||||||
SubCommand::InvisibleBorders(arg) => {
|
SubCommand::InvisibleBorders(arg) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user