#brightness #monitor #lcd #windows #command-line-tool #winapi #set

app setmon

Sets LCD monitor brightness on the Windows platform, using Win32 API

Show the crate…

2 releases

0.1.1 Sep 30, 2023
0.1.0 Sep 30, 2023

#28 in #brightness

MIT license

4KB

SetMon

The setmon CLI tool is used to set LCD monitor brightness.

Installation

Make sure Rust is installed before you attempt to install this utility. Then, use the following command.

cargo install setmon

Usage

List Monitor IDs

The following command will enumerate all attached displays. Decide which monitor ID you want to set the brightness for, and use it in the next command.

setmon list

Set Monitor Brightness

The setmon set command updates the brightness, for the specified monitor ID, to the value 0 - 100.

setmon set <monitor_id> <brightness>

License

MIT - 2023 Trevor Sullivan

Dependencies

~130MB
~2M SLoC