Initial commit
This commit is contained in:
commit
1db16227b2
31 changed files with 2175 additions and 0 deletions
18
Sources/App/main.swift
Normal file
18
Sources/App/main.swift
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import SwiftUI
|
||||
|
||||
@main
|
||||
struct MenuWhisperApp: App {
|
||||
var body: some Scene {
|
||||
MenuBarExtra("Menu-Whisper", systemImage: "mic") {
|
||||
Text("Menu-Whisper")
|
||||
Text("Idle")
|
||||
Divider()
|
||||
Button("Preferences...") {
|
||||
// TODO: Open preferences
|
||||
}
|
||||
Button("Quit") {
|
||||
NSApplication.shared.terminate(nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue