Sin descripción

dependabot[bot] 37d076457f build(deps-dev): bump mypy from 0.782 to 0.790 hace 3 años
.github fcdc014c98 configure github's dependabot to update Pipfile.lock (dev env) hace 3 años
acpi_backlight 36d947e22b added argument & return type hints hace 3 años
test 43ce2c0d98 added unit test for backlight_eval hace 3 años
tests 6145e6ae2a format code via black hace 3 años
.gitignore 289980b1a6 pipeline: run mypy hace 3 años
LICENSE 80571b57ed init hace 5 años
Pipfile cf4ab276b6 dev env: add upper version constraint for importlib-metadata to keep compatibility with python3.5 hace 3 años
Pipfile.lock 37d076457f build(deps-dev): bump mypy from 0.782 to 0.790 hace 3 años
README.md a6257d32af pipeline: check test coverage hace 3 años
mypy.ini 289980b1a6 pipeline: run mypy hace 3 años
setup.py 6145e6ae2a format code via black hace 3 años

README.md

acpi-backlight

CI Pipeline Status Coverage Status

setup

pip3 install --user --upgrade acpi-backlight

usage

acpi-backlight-eval 1  # max brightness
acpi-backlight-eval 0.5  # 50% brightness
acpi-backlight-eval 1/4  # 25% brightness
acpi-backlight-eval 'b + 0.1'
acpi-backlight-eval 'b - 1/20'
acpi-backlight-eval 'b * 1.1'