lumix

Crates.iolumix
lib.rslumix
version0.1.1
sourcesrc
created_at2024-10-28 05:35:29.589685
updated_at2024-10-28 05:41:09.350394
descriptionA simple tool to control monitor features like brightness, volume, etc...
homepage
repositoryhttps://github.com/Yrrrrrf/lumix
max_upload_size
id1425262
size17,025
Fernando Bryan Reza Campos (Yrrrrrf)

documentation

README

lumix

A simple, fast command-line tool for controlling monitor brightness on Windows. Designed for easy brightness management across multiple displays.

GitHub Crates.io License

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 identifier
  • 75%: Current brightness (bold)
  • ██████████░░░░░░░░░░: Visual brightness indicator
  • [0..=100]: Supported brightness range

Troubleshooting

Common Issues

  1. Monitor Not Found

    • Ensure the monitor supports DDC/CI
    • Verify the monitor handle is correct
  2. Permission Denied

    • Run the command prompt as administrator
  3. Invalid Brightness Value

    • Use values between 0 and 100

Error Messages

  • Monitor X not found: Invalid monitor handle
  • Invalid brightness value: Brightness must be 0-100
  • Error 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.

Commit count: 2

cargo fmt