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.
18 lines
475 B
Swift
18 lines
475 B
Swift
import Foundation
|
|
|
|
// AppControl is the interface for the menu bar item and the settings window.
|
|
// AppDelegate implements AppControl. The protocol keeps the UI modules
|
|
// independent from the concrete controllers.
|
|
@MainActor
|
|
protocol AppControl: AnyObject {
|
|
var isPaused: Bool { get }
|
|
func togglePause()
|
|
|
|
var constrainWindows: Bool { get }
|
|
func setConstrainWindows(_ on: Bool)
|
|
|
|
func dumpWindowsToLog()
|
|
func copyWindowDump()
|
|
func openSettings()
|
|
}
|