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

calibright

A brightness utility that allows you to calibrate brightness between monitors

11 releases

new 0.1.10 Nov 16, 2024
0.1.9 Oct 20, 2024
0.1.7 Apr 29, 2024
0.1.6 Mar 10, 2024
0.1.2 Mar 12, 2023

#78 in Configuration

Download history 216/week @ 2024-07-29 188/week @ 2024-08-05 404/week @ 2024-08-12 563/week @ 2024-08-19 502/week @ 2024-08-26 638/week @ 2024-09-02 617/week @ 2024-09-09 618/week @ 2024-09-16 658/week @ 2024-09-23 556/week @ 2024-09-30 511/week @ 2024-10-07 944/week @ 2024-10-14 591/week @ 2024-10-21 762/week @ 2024-10-28 1088/week @ 2024-11-04 1023/week @ 2024-11-11

3,806 downloads per month
Used in 2 crates

GPL-3.0-only

32KB
682 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–23MB
~345K SLoC