Sources/OrgstarWidgets/OrgstarWidgets.swift

ab3da01d504ff1f7e1830a99eeceaf79c7313e48
orgstar/Sources/OrgstarWidgets/OrgstarWidgets.swift

24 lines · 679 bytes

 1import AppIntents
 2import OrgApp
 3import SwiftUI
 4import WidgetKit
 5
 6/// The agenda and habits on the Home Screen and the Lock Screen, capture and the clock in
 7/// Control Center, and the running clock's Live Activity.
 8@main
 9struct OrgstarWidgets: WidgetBundle {
10    var body: some Widget {
11        TodayWidget()
12        HabitsWidget()
13        UpNextWidget()
14        CaptureWidget()
15        ClockActivityWidget()
16        CaptureControl()
17        ClockControl()
18    }
19}
20
21/// The App Intents OrgApp declares: the Live Activity's Clock Out button.
22struct OrgstarWidgetIntents: AppIntentsPackage {
23    static var includedPackages: [any AppIntentsPackage.Type] { [OrgAppIntents.self] }
24}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form