From 510650cb94782c93238da836b903fb81c479f201 Mon Sep 17 00:00:00 2001 From: Yusuf007R Date: Fri, 23 Jun 2023 21:55:11 -0500 Subject: [PATCH] refactor(wm): renaming SwapWorkspacesToMonitor to SwapWorkspacesWithMonitor --- komorebic/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index 14bf3385..48b28150 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -154,7 +154,7 @@ gen_target_subcommand_args! { FocusWorkspace, FocusWorkspaces, MoveWorkspaceToMonitor, - SwapWorkspacesToMonitor, + SwapWorkspacesWithMonitor, } macro_rules! gen_named_target_subcommand_args { @@ -808,9 +808,9 @@ enum SubCommand { /// Move the focused workspace to the specified monitor #[clap(arg_required_else_help = true)] MoveWorkspaceToMonitor(MoveWorkspaceToMonitor), - /// Swap focused monitior workspaces with specified monitor + /// Swap focused monitor workspaces with specified monitor #[clap(arg_required_else_help = true)] - SwapWorkspacesToMonitor(SwapWorkspacesToMonitor), + SwapWorkspacesWithMonitor(SwapWorkspacesWithMonitor), /// Create and append a new workspace on the focused monitor NewWorkspace, /// Set the resize delta (used by resize-edge and resize-axis) @@ -1196,7 +1196,7 @@ fn main() -> Result<()> { SubCommand::MoveWorkspaceToMonitor(arg) => { send_message(&SocketMessage::MoveWorkspaceToMonitorNumber(arg.target).as_bytes()?)?; } - SubCommand::SwapWorkspacesToMonitor(arg) => { + SubCommand::SwapWorkspacesWithMonitor(arg) => { send_message(&SocketMessage::SwapWorkspacesToMonitorNumber(arg.target).as_bytes()?)?; } SubCommand::InvisibleBorders(arg) => {