Add Shortcut Toggle

This commit is contained in:
Hariharan Mudaliar 2025-08-12 14:01:29 +05:30
commit 5e206ec20b
6 changed files with 225 additions and 233 deletions

View file

@ -171,6 +171,9 @@ extension Defaults.Keys {
static let clipboardHistorySize = Key<Int>("clipboardHistorySize", default: 3)
static let showClipboardIcon = Key<Bool>("showClipboardIcon", default: true)
// MARK: Keyboard Shortcuts
static let enableShortcuts = Key<Bool>("enableShortcuts", default: true)
// Helper to determine the default media controller based on macOS version
static var defaultMediaController: MediaControllerType {
if #available(macOS 15.4, *) {