id = "shifty" name = "Shifty" homepage = "https://shifty.natethompson.io/" # The project's own repository description, without its leading emoji. description = "A macOS menu bar app that gives you more control over Night Shift." # The app icon from the asset catalogue in the project's own repository. icon = "https://raw.githubusercontent.com/thompsonate/Shifty/master/Shifty/Assets.xcassets/AppIcon.appiconset/Shifty%20Icon%20256.png" # Shifty ships no command-line tool, so `detect` carries the bundle identifier. # The Homebrew cask names it in `uninstall quit:` — io.natethompson.Shifty — # and zaps the matching preferences domain (Casks/s/shifty.rb). executables = [] platforms = ["macos"] [installation] macos_bundle_ids = ["io.natethompson.Shifty"] [dotfiles] # Everything Shifty remembers is an ordinary user default. Shifty/PrefManager.swift # lists the keys it registers against `UserDefaults.standard` — # isStatusToggleEnabled, isAutoLaunchEnabled, isIconSwitchingEnabled, # isDarkModeSyncEnabled, isWebsiteControlEnabled, trueToneControl, the # toggleNightShiftShortcut / incrementColorTempShortcut / disableAppShortcut # family — and Shifty/RuleManager.swift keeps the per-app and per-website rules # in the same place, encoding them into the "disabledApps", # "disabledRunningApps" and "browserRules" defaults. So the preferences domain # is the whole configuration; the Homebrew cask names that same file in its zap # stanza. [preferences] is ~/Library/Preferences, and the entry is macOS-only, # so there is no other platform for that root to stand for. paths = ["[preferences]/io.natethompson.Shifty.plist"] # Everything else in the cask's zap list is somewhere else and is crash # reporting or sandbox scaffolding: ~/Library/Application Support/ # io.natethompson.Shifty, ~/Library/Caches/com.crashlytics.data/ # io.natethompson.Shifty, ~/Library/Caches/io.fabric.sdk.mac.data/ # io.natethompson.Shifty, ~/Library/Application Scripts/ # io.natethompson.ShiftyHelper and ~/Library/Containers/ # io.natethompson.ShiftyHelper — the helper being the login item. None of them # is below the path above, so nothing needs carving out. exclude = [] # No credential: Shifty is free and open source, and the domain holds # shortcuts, toggles and the list of apps and websites to disable Night Shift # for. secret = [] # No machine_lines: the per-app and per-website rules are exactly what a user # wants on the next Mac, and a property list has no matcher in this schema in # any case — `format` covers toml, yaml and json only.