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:
17
Sources/App/AppControl.swift
Normal file
17
Sources/App/AppControl.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user