diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63269a47..f328f634 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ Submit bugs to https://github.com/nikitabobko/AeroSpace/discussions/categories/p Submit feature ideas to https://github.com/nikitabobko/AeroSpace/discussions/categories/feature-ideas Rules: -* Search for duplicates (in GitHub Issues and Discusssions) before creating a new discussion +* Search for duplicates (in GitHub Issues and Discussions) before creating a new discussion * Upvote for issues/discussions that you find useful **Consider including in bug reports** diff --git a/Package.swift b/Package.swift index a728d3d4..7705f421 100644 --- a/Package.swift +++ b/Package.swift @@ -27,7 +27,7 @@ let package = Package( // Targets are the basic building blocks of a package, defining a module or a test suite. // Targets can depend on other targets in this package and products from dependencies. targets: [ - // Exposes the prviate _AXUIElementGetWindow function to swift + // Exposes the private _AXUIElementGetWindow function to swift .target( name: "PrivateApi", path: "Sources/PrivateApi", diff --git a/Sources/AppBundle/command/impl/MacosNativeMinimizeCommand.swift b/Sources/AppBundle/command/impl/MacosNativeMinimizeCommand.swift index 84062e38..a9d21ece 100644 --- a/Sources/AppBundle/command/impl/MacosNativeMinimizeCommand.swift +++ b/Sources/AppBundle/command/impl/MacosNativeMinimizeCommand.swift @@ -7,7 +7,7 @@ struct MacosNativeMinimizeCommand: Command { /*conforms*/ var shouldResetClosedWindowsCache = false func run(_ env: CmdEnv, _ io: CmdIo) async throws -> Bool { - // resolveTargetOrReportError on already minimized windows will alwyas fail + // resolveTargetOrReportError on already minimized windows will always fail // It would be easier if minimized windows were part of the workspace in tree hierarchy guard let target = args.resolveTargetOrReportError(env, io) else { return false } guard let window = target.windowOrNil else { diff --git a/Sources/AppBundle/layout/layoutRecursive.swift b/Sources/AppBundle/layout/layoutRecursive.swift index 206fa615..3ff5658b 100644 --- a/Sources/AppBundle/layout/layoutRecursive.swift +++ b/Sources/AppBundle/layout/layoutRecursive.swift @@ -7,7 +7,7 @@ extension Workspace { let rect = workspaceMonitor.visibleRectPaddedByOuterGaps // If monitors are aligned vertically and the monitor below has smaller width, then macOS may not allow the // window on the upper monitor to take full width. rect.height - 1 resolves this problem - // But I also faced this problem in mointors horizontal configuration. ¯\_(ツ)_/¯ + // But I also faced this problem in monitors horizontal configuration. ¯\_(ツ)_/¯ try await layoutRecursive(rect.topLeftCorner, width: rect.width, height: rect.height - 1, virtual: rect, LayoutContext(self)) } } diff --git a/Sources/AppBundle/ui/MessageView.swift b/Sources/AppBundle/ui/MessageView.swift index 08a4e6b7..e47d3751 100644 --- a/Sources/AppBundle/ui/MessageView.swift +++ b/Sources/AppBundle/ui/MessageView.swift @@ -7,7 +7,7 @@ public func getMessageWindow(messageModel: MessageModel) -> some Scene { SwiftUI.Window(messageModel.message?.title ?? aeroSpaceAppName, id: messageWindowId) { MessageView(model: messageModel) .onAppear { - // Set activation policy; otherwise, AeroSpace windows won't be able to receive focus and accept keyborad input + // Set activation policy; otherwise, AeroSpace windows won't be able to receive focus and accept keyboard input NSApp.setActivationPolicy(.accessory) NSApplication.shared.windows.forEach { if $0.identifier?.rawValue == messageWindowId { diff --git a/Sources/Common/cmdArgs/parseCmdArgs.swift b/Sources/Common/cmdArgs/parseCmdArgs.swift index 8fb82dce..23747ace 100644 --- a/Sources/Common/cmdArgs/parseCmdArgs.swift +++ b/Sources/Common/cmdArgs/parseCmdArgs.swift @@ -12,7 +12,7 @@ public func parseCmdArgs(_ args: [String]) -> ParsedCmd { public protocol CmdArgs: ConvenienceCopyable, Equatable, CustomStringConvertible, AeroAny, Sendable { static var parser: CmdParser { get } - var rawArgs: EquatableNoop<[String]> { get } // Non Equatable because test comparion + var rawArgs: EquatableNoop<[String]> { get } // Non Equatable because test comparison // Two very common flags among commands var windowId: UInt32? { get set } diff --git a/docs/util/man-footer.adoc b/docs/util/man-footer.adoc index c9313988..865ac179 100644 --- a/docs/util/man-footer.adoc +++ b/docs/util/man-footer.adoc @@ -13,7 +13,7 @@ Maintainers will move verified bugs to https://github.com/nikitabobko/AeroSpace/ Copyright (C) 2023 Nikita Bobko + Free use of this software is granted under the terms of the MIT License + -You can find the full text of AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archieve. +You can find the full text of AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archive. == AUTHOR