aleksey-mashanov / brisyncd Goto Github PK
View Code? Open in Web Editor NEWSynchronize the brightness of an external display with a main (integrated) display
License: MIT License
Synchronize the brightness of an external display with a main (integrated) display
License: MIT License
Hi, I tried to start with the template configuration in your readme. Unfortunately, it won't accept a JSON with comments and failed to start, despite that brew still showed "Successfully started brisyncd
". So I tried brisyncd config > /usr/local/etc/brisyncd.json
to dump one from the tool, but it shows "command not found: brisyncd". I guess it's because it's not added to PATH. Then I used /usr/local/opt/brisyncd/sbin/brisyncd config > /usr/local/etc/brisyncd.json
and it outputs "Error: Failed to parse config file [/usr/local/etc/brisyncd.json]". The tool seems to parse it before writing it. I have to let the tool print it to stdout and copy it to the JSON file by hand.
Also, I think you should describe more about the configuration file's format. I read the help information and I don't know if --min
and --max
are the same as "min" and "max" under "source" or "targets" in the configuration file. And I don't know how "min" and "max" of the source are mapped to the "min" and "max" of the target. I thought source.min -> target.min and source.max -> target.max, but it seems not. Currently I just leave out those under "source" and only use the target ones, assuming it means 0% on the target (external display) looks like target.min% on the source (built-in display) and 100% on the target (external display) looks like target.max% on the source. Did I interpret it right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.