udifuchs / icc-brightness

Control OLED display brightness by applying ICC color profiles.
MIT License
172 stars 25 forks source link

max-brightness not working #40

Closed PixsaOJ closed 1 year ago

PixsaOJ commented 2 years ago

Hi, I am on Manjaro, Nvidia 1050 Ti, HP Pavilion 15 Gaming + Philips 223V monitor. Used "icc-brightness-gnome-git" package to install from AUR.

When I try this command : brightness max-brightness I get errors.

➜  ~ icc-brightness brightness max-brightness
Traceback (most recent call last):
  File "/usr/bin/icc-brightness", line 157, in <module>
    main()
  File "/usr/bin/icc-brightness", line 148, in main
    brightness = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: 'brightness'

icc-brightness watch command is working. It's little jumpy, but it's fine. Could be smoother.

gitpushoriginmaster commented 1 year ago

As the last line of the error message says - please consider using int values. Example: icc-brightness 80 100 will set the brightness to 80%

PixsaOJ commented 1 year ago

I am not using the package anymore. Thanks for answer. hope anyone finds helpful.