Sources/OrgstarWidgets/OrgstarWidgets.swift

cfd1ff17f14e9e238e308e74c5ae8d9fd7ee9169
orgstar/Sources/OrgstarWidgets/OrgstarWidgets.swift

19 lines · 528 bytes

 1import AppIntents
 2import OrgApp
 3import SwiftUI
 4import WidgetKit
 5
 6/// The agenda on the Home Screen and the Lock Screen, and the running clock's Live Activity.
 7@main
 8struct OrgstarWidgets: WidgetBundle {
 9    var body: some Widget {
10        TodayWidget()
11        UpNextWidget()
12        ClockActivityWidget()
13    }
14}
15
16/// The App Intents OrgApp declares: the Live Activity's Clock Out button.
17struct OrgstarWidgetIntents: AppIntentsPackage {
18    static var includedPackages: [any AppIntentsPackage.Type] { [OrgAppIntents.self] }
19}
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