Skip to content

Commit 7ccbdca

Browse files
committed
Fix typos
Signed-off-by: Zhizhen He <[email protected]>
1 parent d19a49e commit 7ccbdca

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Submit bugs to https://github.com/nikitabobko/AeroSpace/discussions/categories/p
2525
Submit feature ideas to https://github.com/nikitabobko/AeroSpace/discussions/categories/feature-ideas
2626

2727
Rules:
28-
* Search for duplicates (in GitHub Issues and Discusssions) before creating a new discussion
28+
* Search for duplicates (in GitHub Issues and Discussions) before creating a new discussion
2929
* Upvote for issues/discussions that you find useful
3030

3131
**Consider including in bug reports**

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ let package = Package(
2727
// Targets are the basic building blocks of a package, defining a module or a test suite.
2828
// Targets can depend on other targets in this package and products from dependencies.
2929
targets: [
30-
// Exposes the prviate _AXUIElementGetWindow function to swift
30+
// Exposes the private _AXUIElementGetWindow function to swift
3131
.target(
3232
name: "PrivateApi",
3333
path: "Sources/PrivateApi",

Sources/AppBundle/command/impl/MacosNativeMinimizeCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct MacosNativeMinimizeCommand: Command {
77
/*conforms*/ var shouldResetClosedWindowsCache = false
88

99
func run(_ env: CmdEnv, _ io: CmdIo) async throws -> Bool {
10-
// resolveTargetOrReportError on already minimized windows will alwyas fail
10+
// resolveTargetOrReportError on already minimized windows will always fail
1111
// It would be easier if minimized windows were part of the workspace in tree hierarchy
1212
guard let target = args.resolveTargetOrReportError(env, io) else { return false }
1313
guard let window = target.windowOrNil else {

Sources/AppBundle/layout/layoutRecursive.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension Workspace {
77
let rect = workspaceMonitor.visibleRectPaddedByOuterGaps
88
// If monitors are aligned vertically and the monitor below has smaller width, then macOS may not allow the
99
// window on the upper monitor to take full width. rect.height - 1 resolves this problem
10-
// But I also faced this problem in mointors horizontal configuration. ¯\_(ツ)_/¯
10+
// But I also faced this problem in monitors horizontal configuration. ¯\_(ツ)_/¯
1111
try await layoutRecursive(rect.topLeftCorner, width: rect.width, height: rect.height - 1, virtual: rect, LayoutContext(self))
1212
}
1313
}

Sources/AppBundle/ui/MessageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public func getMessageWindow(messageModel: MessageModel) -> some Scene {
77
SwiftUI.Window(messageModel.message?.title ?? aeroSpaceAppName, id: messageWindowId) {
88
MessageView(model: messageModel)
99
.onAppear {
10-
// Set activation policy; otherwise, AeroSpace windows won't be able to receive focus and accept keyborad input
10+
// Set activation policy; otherwise, AeroSpace windows won't be able to receive focus and accept keyboard input
1111
NSApp.setActivationPolicy(.accessory)
1212
NSApplication.shared.windows.forEach {
1313
if $0.identifier?.rawValue == messageWindowId {

Sources/Common/cmdArgs/parseCmdArgs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public func parseCmdArgs(_ args: [String]) -> ParsedCmd<any CmdArgs> {
1212

1313
public protocol CmdArgs: ConvenienceCopyable, Equatable, CustomStringConvertible, AeroAny, Sendable {
1414
static var parser: CmdParser<Self> { get }
15-
var rawArgs: EquatableNoop<[String]> { get } // Non Equatable because test comparion
15+
var rawArgs: EquatableNoop<[String]> { get } // Non Equatable because test comparison
1616

1717
// Two very common flags among commands
1818
var windowId: UInt32? { get set }

docs/util/man-footer.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Maintainers will move verified bugs to https://github.com/nikitabobko/AeroSpace/
1313

1414
Copyright (C) 2023 Nikita Bobko +
1515
Free use of this software is granted under the terms of the MIT License +
16-
You can find the full text of AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archieve.
16+
You can find the full text of AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archive.
1717

1818
== AUTHOR
1919

0 commit comments

Comments
 (0)