Initial commit: Snipping Tool menu bar screenshot app

This commit is contained in:
2026-07-01 15:27:57 +02:00
commit 1c2b52fa30
25 changed files with 718 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import Foundation
enum OutputAction: String, CaseIterable, Identifiable, Codable {
case saveOnly
case clipboardOnly
case both
var id: String { rawValue }
var label: String {
switch self {
case .saveOnly: return "Nur speichern"
case .clipboardOnly: return "Nur in Zwischenablage kopieren"
case .both: return "Speichern und in Zwischenablage kopieren"
}
}
var savesToFile: Bool { self == .saveOnly || self == .both }
var copiesToClipboard: Bool { self == .clipboardOnly || self == .both }
}