https://github.com/lilydjwg/monitor-control
The fastest way to get / set DDC values for a monitor
https://github.com/lilydjwg/monitor-control
ddc linux-cli monitors rust-cli
Last synced: 6 months ago
JSON representation
The fastest way to get / set DDC values for a monitor
- Host: GitHub
- URL: https://github.com/lilydjwg/monitor-control
- Owner: lilydjwg
- License: gpl-3.0
- Created: 2022-08-16T07:58:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-11T09:29:04.000Z (over 1 year ago)
- Last Synced: 2025-03-20T21:21:33.178Z (11 months ago)
- Topics: ddc, linux-cli, monitors, rust-cli
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple tool suitable for adjusting external monitor's brightness.
Much faster than [ddcutil](https://github.com/rockowitz/ddcutil), still faster than [ddcset](https://github.com/arcnmx/ddcset-rs) which enumerates all monitors. And it matches monitor by the output name you see from xrandr / wayland-info output.
To install, install rust and run `cargo build --release` and find the binary in `target/release/`.
Usage:
```
monitor-control 0.2.0
lilydjwg
The fastest way to get / set DDC values for a monitor
USAGE:
monitor-control [FEATURE_VALUE]
ARGS:
output name such as DP-1
feature code in decimal or 0xFF or FFh format
value to be set; when not present show current value
OPTIONS:
-h, --help Print help information
-V, --version Print version information
```
E.g.
```sh
# get current and max brightness value
monitor-control DP-2 16
# set brightness to 50
monitor-control DP-2 16 50
```
Scripts to determine which monitor to adjust and show indicators like [wob](https://github.com/francma/wob) are left to other projects.