aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 13:58:04 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 15:15:06 -0400
commit99a0db84dd16935f9357176248c824bcc372ee43 (patch)
tree94ecac73c9f3a09e852711eb7ed6719ba77dfabd /LICENSE
parent1763cf8ac3720104bdd72d5b631eed3b467e69fc (diff)
Support fractional valuesHEADmaster
Treat values passed on the command line as floats instead of longs. This allows you to specify fractional percentages (and fractional absolute values, too, though they’ll just be rounded down, so they’re not particularly useful). Report the display brightness as a percentage with two decimal places rather than zero. To ensure backward compatibility in machine-readable mode, report the high-precision percentage in a new field rather than replacing the existing field. This does cause some redundancy in the output, but that’s better than breaking scripts that assume the 4th field is an integer followed by “%”. Closes: https://github.com/Hummer12007/brightnessctl/issues/50
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions