2 releases
new 0.1.1 | Oct 28, 2024 |
---|---|
0.1.0 | Oct 28, 2024 |
#1 in #brightness
12KB
166 lines
lumix
A simple, fast command-line tool for controlling monitor brightness on Windows. Designed for easy brightness management across multiple displays.
Features
- π₯οΈ Multi-monitor support
- π Visual brightness indicator
- π Fast and lightweight
- π― Simple command interface
- π Show brightness range for each monitor
- π¨ Formatted output
Usage
Basic Commands
- Get brightness:
lumix get # List all monitors and their brightness
lumix get 12345 # Specific monitor brightness
- Set brightness:
lumix set 75 # All monitors to 75%
lumix set 12345 50 # Specific monitor to 50%
Output Example
Monitor 12345: 75% [0..=100] ββββββββββββββββββββ
Where:
12345
: Monitor identifier75%
: Current brightness (bold)ββββββββββββββββββββ
: Visual brightness indicator[0..=100]
: Supported brightness range
Troubleshooting
Common Issues
-
Monitor Not Found
- Ensure the monitor supports DDC/CI
- Verify the monitor handle is correct
-
Permission Denied
- Run the command prompt as administrator
-
Invalid Brightness Value
- Use values between 0 and 100
Error Messages
Monitor X not found
: Invalid monitor handleInvalid brightness value
: Brightness must be 0-100Error setting brightness
: Monitor might not support DDC/CI
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Dependencies
~127MB
~2M SLoC