#brightness #monitor #utility #config-toml #calibration #file #display

calibright

A brightness utility that allows you to calibrate brightness between monitors

7 releases

0.1.6 Mar 10, 2024
0.1.5 Feb 7, 2024
0.1.4 Jun 1, 2023
0.1.3 Apr 26, 2023
0.1.2 Mar 12, 2023

#171 in Hardware support

Download history 52/week @ 2023-12-31 167/week @ 2024-01-07 407/week @ 2024-01-14 142/week @ 2024-01-21 263/week @ 2024-01-28 304/week @ 2024-02-04 305/week @ 2024-02-11 475/week @ 2024-02-18 368/week @ 2024-02-25 236/week @ 2024-03-03 506/week @ 2024-03-10 258/week @ 2024-03-17 271/week @ 2024-03-24 336/week @ 2024-03-31 373/week @ 2024-04-07 244/week @ 2024-04-14

1,256 downloads per month
Used in 2 crates

GPL-3.0-only

32KB
681 lines

calibright

Docs

https://docs.rs/calibright

Usage

You can create a config file at $XDG_CONFIG_HOME/calibright/config.toml with a [global] section as well as separate sections for each display.

All of the sections allow the same parameters:

Key Value Default
root_scaling Scaling exponent reciprocal (ie. root) Allows values from 0.1 to 10.0 1.0
ddcci_sleep_multiplier See ddcutil documentation 1.0
ddcci_max_tries_write_read The maximum number of times to attempt writing to or reading from a ddcci monitor 10
calibration A pair of floats representing the the min and max brightness [0.0, 100.0]

A simple example config could look like:

[global]
ddcci_sleep_multiplier = 0.1

[ddcci6]
calibration = [0, 90]

[ddcci7]
calibration = [10, 80]

Dependencies

~11–26MB
~359K SLoC