aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Support fractional valuesHEADmasterGravatar Benjamin Barenblat2020-05-13
| | | | | | | | | | | | | | | | 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
* Allow relative --min-value argumentsGravatar Alexander Kobel2020-04-20
|
* Make optarg parsing more robustGravatar Alexander Kobel2020-04-20
| | | | Allow -n MIN as equivalent to -nMIN and --min-value=MIN.
* README: update `ENABLE_SYSTEMD` documentationGravatar Antoine Damhet2020-02-02
| | | | Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
* Use non-suid permissions when logind is usedGravatar Christian Kellner2020-02-02
| | | | | | | | | | | When systemd-logind and its D-Bus API is used to actual change the brightness of devices the binary does not have to be suid, which is desired for security reasons. This is a cherry-pick of: 7504b58765cafae7f7628fe02204883a200a4b10 that was partially reverted by: 052e56ccd662fba25abd7780be5feb66a8e0710b. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
* Version bump to 0.5Gravatar Mykyta Holubakha2020-02-02
|
* Build fixupGravatar Mykyta Holubakha2020-02-02
| | | | | | systemd install fixup Closes #42, #44
* Use non-suid permissions when logind is usedGravatar Christian Kellner2020-01-26
| | | | | | When systemd-logind and its D-Bus API is used to actual change the brightness of devices the binary does not have to be suid, which is desired for security reasons.
* Improve saving device dataGravatar Mykyta Holubakha2020-01-25
|
* Fix roundings for percentage calculationsGravatar Mykyta Holubakha2020-01-25
|
* Stop leaking temporary pathsGravatar Mykyta Holubakha2020-01-25
|
* Add Alpine Linux to list of available distrosGravatar Leo2019-11-11
|
* Added NixOS/nix to the installation listGravatar Jack Kelly2019-10-30
| | | Added NixOS/nix to the installation list
* Make the use of `SetBrightness` dynamicGravatar Antoine Damhet2019-09-19
| | | | | | | It will only be used if the user do not have the permission to directly write to the backlight device. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
* Support the new `SetBrightness` logind APIGravatar Antoine Damhet2019-09-19
| | | | | | | | | This API from `org.freedesktop.login1.Session` allows an unprivileged user with an active session to change its own backlight. Systemd >= v243 is needed. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
* Update README.mdGravatar Hummer120072019-08-02
|
* openSUSE updatesGravatar Hummer120072019-08-02
|
* brightnessctl is dropped from recent FedoraGravatar Hummer120072019-08-02
|
* brightnessctl is in Arch communityGravatar Hummer120072019-08-02
|
* Fixed inconsistency in README (thanks @AJGQ)Gravatar Hummer120072019-08-02
| | | Closes #28
* Documented new changesGravatar Mykyta Holubakha2019-08-02
| | | | Rewritten some contributed code
* Added a mapping function (exponent)Gravatar Schnilz2019-08-02
| | | | | | | | added -e / --exponent. As the perceived brightness change from 10% to 20% is not the same as 90% to 100%, there is now a float parameter--exponent / -e to set the mapping of the percentage form linear (as it was) to polynominal. (%=x^k*max*100^-k) k is the value that you can change now.
* Fixes return code when set in quiet modeGravatar Antoni Villalonga2019-08-02
|
* Add openSUSE package infoGravatar Michael Vetter2019-04-30
|
* Version bump to 0.4Gravatar Mykyta Holubakha2018-09-04
|
* Fix read_device returnGravatar Hummer120072018-07-22
| | | closes #24
* Considered bitfields harmfulGravatar Mykyta Holubakha2018-07-13
|
* Refactor to use stdbool.h for consistent booleansGravatar Mykyta Holubakha2018-07-13
|
* Create temporary directory under XDG_RUNTIME_DIRGravatar Mykyta Holubakha2018-07-13
| | | | | | fallback to /tmp closes #22
* Install udev rules by defaultGravatar Mykyta Holubakha2018-07-13
|
* Added flag to dissallow setting brightness to zero when using delta values (#21)Gravatar Thomas Ingram2018-06-25
| | | | | | | | * Added flag never-zero that stops brightness being set to 0. * Updated README to show never-zero flag. * Replaced never-zero with min-value flag
* Add Void Linux packageGravatar Daniel Santana2018-04-24
|
* Revert manpage changesGravatar Mykyta Holubakha2018-01-24
|
* Improved manpageGravatar Mykyta Holubakha2018-01-24
| | | | thanks @SirCmpwn
* Credit myself for the manpageGravatar Nicolas Braud-Santoni2018-01-24
|
* Add brightnessctl(1) manpageGravatar Nicolas Braud-Santoni2018-01-24
|
* Release 0.3.1Gravatar Mykyta Holubakha2018-01-19
|
* README: mention Debian/Ubuntu packagesGravatar Mykyta Holubakha2018-01-19
|
* Allow to specify device name as a wildcardGravatar Mykyta Holubakha2018-01-19
|
* Added swap files to gitignoreGravatar Mykyta Holubakha2018-01-19
|
* Specify -lm after the main executable symbolGravatar Hummer120072017-10-23
| | | | | Specifying it before may cause issues with some compilers Minor ws cleanup in makefile
* Use BINDIR in Makefile install ruleGravatar Miciah Masters2017-09-23
|
* Fix file mode for installing non-suid binaryGravatar Miciah Masters2017-09-23
| | | | | Use the file mode 0755 (executable but not suid) when installing the binary with INSTALL_UDEV_RULES=1.
* Version bump to 0.3Gravatar Mykyta Holubakha2017-09-22
| | | | | | | | | | fixes #10 added an option to install udev rules (fixes #11) updated makefile to adhere to DESTDIR/PREFIX conventions updated README
* Fix rounding errors when using percentagesGravatar Markus Schneider2017-08-26
|
* Add --version flagGravatar Christoph Gysin2017-07-28
|
* Add "info" operation and make it defaultGravatar hcpl2017-07-28
| | | | There should be an option to get a sole "current brightness" value.
* Update READMEGravatar hcpl2017-07-28
|
* Add gitignoreGravatar Christoph Gysin2017-07-28
|
* Add comment to silence -Wimplicit-fallthroughGravatar Christoph Gysin2017-07-28
|