Skip to content

get real time notifications of mac OS system appearance changes through a TCP socket

License

Notifications You must be signed in to change notification settings

haze/sys_appearance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sys_appearance

get real time notifications of mac OS system appearance changes through a TCP socket

sys_appearance is a small mac OS utility that makes it easy for third party applications to get real time notifications of mac OS system appearance, as well as the current appearance.

This tool is meant to replace the rust implementation in dark-notify, because it uses nightly APIs which were unstable and no longer exist in recent versions of rust.

Installation

make

Usage

sys_appearance can handle multiple clients at once, so it is advised to keep one instance running in the background (preferably using launchd and at launch.) For application instances that wish to start a instance at will per session, the port will be echoed to standard out. This port is selected by the kernel.

You can test the tool by running nc localhost <port>. Along with seeing the current system appearance, updates will also be sent through the socket.

sys_appearance will also advertise itself through Bonjour under _sys_appearance._tcp.

License

BSD 2-Clause License

About

get real time notifications of mac OS system appearance changes through a TCP socket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published