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/Model/WindowInfo.swift
Normal file
17
Sources/Model/WindowInfo.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
import CoreGraphics
|
||||
|
||||
// WindowInfo is the value type for one window. The primary key is the
|
||||
// CGWindowID. The type does not hold the AXUIElement. The AX element lives in
|
||||
// a separate cache (AXElementCache). See spec section 7.2.
|
||||
struct WindowInfo: Identifiable, Equatable {
|
||||
let id: CGWindowID
|
||||
let pid: pid_t
|
||||
let bundleID: String?
|
||||
var title: String // fallback: the application name
|
||||
var spaceIDs: [UInt64] // from SpaceService; empty if unknown
|
||||
var isOnCurrentSpace: Bool
|
||||
var isMinimized: Bool
|
||||
var isFullScreen: Bool
|
||||
var firstSeen: Date // used for the stable order (decision D5)
|
||||
}
|
||||
Reference in New Issue
Block a user