No Description

dependabot[bot] b6c1dac8ce build(deps-dev): bump pytest-cov from 2.10.1 to 2.11.1 3 years ago
.github fcdc014c98 configure github's dependabot to update Pipfile.lock (dev env) 3 years ago
acpi_backlight 36d947e22b added argument & return type hints 3 years ago
test 43ce2c0d98 added unit test for backlight_eval 3 years ago
tests 6145e6ae2a format code via black 3 years ago
.gitignore 289980b1a6 pipeline: run mypy 3 years ago
LICENSE 80571b57ed init 5 years ago
Pipfile 8227dfe8bd env: add upper version constraint for pytest to keep compatibility with python3.5 3 years ago
Pipfile.lock b6c1dac8ce build(deps-dev): bump pytest-cov from 2.10.1 to 2.11.1 3 years ago
README.md a6257d32af pipeline: check test coverage 3 years ago
mypy.ini 289980b1a6 pipeline: run mypy 3 years ago
setup.py 6145e6ae2a format code via black 3 years ago

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'