EPOD Window Bar: a window strip above the macOS Dock
EPOD Window Bar is a macOS agent app. It shows a thin strip above the Dock with one tab per window of the frontmost application. One click raises the window. Build from source with XcodeGen and Xcode. Signing uses Config.xcconfig (ad-hoc by default; a local Local.xcconfig can set a team ID). The app needs Accessibility and Screen Recording permissions, and runs in a reduced mode without Screen Recording. See README.md and docs/ for details.
This commit is contained in:
14
Sources/App/main.swift
Normal file
14
Sources/App/main.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
import AppKit
|
||||
|
||||
// EPOD Window Bar entry point.
|
||||
// The app is an agent (LSUIElement). It has no Dock icon and no main menu.
|
||||
// The program starts on the main thread. The app and the delegate are
|
||||
// main-actor isolated. MainActor.assumeIsolated makes the main-actor context
|
||||
// available at the entry point.
|
||||
MainActor.assumeIsolated {
|
||||
let app = NSApplication.shared
|
||||
let delegate = AppDelegate()
|
||||
app.delegate = delegate
|
||||
app.setActivationPolicy(.accessory)
|
||||
app.run()
|
||||
}
|
||||
Reference in New Issue
Block a user