mirror of
https://github.com/sindresorhus/touch-bar-simulator
synced 2024-12-13 05:52:27 +00:00
7109f14f81
Fixes #30
13 lines
469 B
Swift
13 lines
469 B
Swift
import Foundation
|
|
import Defaults
|
|
|
|
struct Constants {
|
|
static let windowAutosaveName = "TouchBarWindow"
|
|
}
|
|
|
|
extension Defaults.Keys {
|
|
static let windowTransparency = Key<Double>("windowTransparency", default: 0.75)
|
|
static let windowDocking = Key<TouchBarWindow.Docking>("windowDocking", default: .floating)
|
|
static let showOnAllDesktops = Key<Bool>("showOnAllDesktops", default: false)
|
|
static let lastFloatingPosition = OptionalKey<CGPoint>("lastFloatingPosition")
|
|
}
|