Skip to content

Commit

Permalink
refactor(wm): renaming SwapWorkspacesToMonitor to SwapWorkspacesWithM…
Browse files Browse the repository at this point in the history
…onitor
  • Loading branch information
Yusuf007R authored and LGUG2Z committed Jun 24, 2023
1 parent 6fe2290 commit 510650c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions komorebic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ gen_target_subcommand_args! {
FocusWorkspace,
FocusWorkspaces,
MoveWorkspaceToMonitor,
SwapWorkspacesToMonitor,
SwapWorkspacesWithMonitor,
}

macro_rules! gen_named_target_subcommand_args {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 510650c

Please sign in to comment.