donaldguy / macos-widgets-rs

A rust crate for working with macOS desktop widgets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Work in Progress

Current state:

  1. Deserialization of relevant plist and contained structures is complete(?) and formatted is mostly-documented
  2. Builds, few present tests pass (subject to inclusion of the data file which I may [or may not] want to ~sanitize, but you can do cp ~/Library/Containers/com.apple.notificationcenterui/Data/Library/Preferences/com.apple.notificationcenterui.plist tests/static_notificationcenterui.plist if you are so inclined)
  3. Currently running cargo run should pretty print out the deserialized version of your present ~/Library/Containers/com.apple.notificationcenterui/Data/Library/Preferences/com.apple.notificationcenterui.plist
    • ^facilitating that as simply as posisble means that probably what mods and structs are public will be subject to change

An unauthorized API (and CLI) for programmatic manipulation of macOS desktop widgets

Works by equivalent1 of defaults write com.apple.notificationcenterui

Footnotes

  1. or realistically more complicated pipelines ending with that to deal with fact of nested raw binary plists)

About

A rust crate for working with macOS desktop widgets

License:GNU General Public License v2.0


Languages

Language:Rust 100.0%