Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | brightnessctl is dropped from recent Fedora | Hummer12007 | 2019-08-02 |
| | |||
* | brightnessctl is in Arch community | Hummer12007 | 2019-08-02 |
| | |||
* | Fixed inconsistency in README (thanks @AJGQ) | Hummer12007 | 2019-08-02 |
| | | | Closes #28 | ||
* | Documented new changes | Mykyta Holubakha | 2019-08-02 |
| | | | | Rewritten some contributed code | ||
* | Added a mapping function (exponent) | Schnilz | 2019-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 mode | Antoni Villalonga | 2019-08-02 |
| | |||
* | Add openSUSE package info | Michael Vetter | 2019-04-30 |
| | |||
* | Version bump to 0.4 | Mykyta Holubakha | 2018-09-04 |
| | |||
* | Fix read_device return | Hummer12007 | 2018-07-22 |
| | | | closes #24 | ||
* | Considered bitfields harmful | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Refactor to use stdbool.h for consistent booleans | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Create temporary directory under XDG_RUNTIME_DIR | Mykyta Holubakha | 2018-07-13 |
| | | | | | | fallback to /tmp closes #22 | ||
* | Install udev rules by default | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Added flag to dissallow setting brightness to zero when using delta values (#21) | Thomas Ingram | 2018-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 package | Daniel Santana | 2018-04-24 |
| | |||
* | Revert manpage changes | Mykyta Holubakha | 2018-01-24 |
| | |||
* | Improved manpage | Mykyta Holubakha | 2018-01-24 |
| | | | | thanks @SirCmpwn | ||
* | Credit myself for the manpage | Nicolas Braud-Santoni | 2018-01-24 |
| | |||
* | Add brightnessctl(1) manpage | Nicolas Braud-Santoni | 2018-01-24 |
| | |||
* | Release 0.3.1 | Mykyta Holubakha | 2018-01-19 |
| | |||
* | README: mention Debian/Ubuntu packages | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Allow to specify device name as a wildcard | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Added swap files to gitignore | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Specify -lm after the main executable symbol | Hummer12007 | 2017-10-23 |
| | | | | | Specifying it before may cause issues with some compilers Minor ws cleanup in makefile | ||
* | Use BINDIR in Makefile install rule | Miciah Masters | 2017-09-23 |
| | |||
* | Fix file mode for installing non-suid binary | Miciah Masters | 2017-09-23 |
| | | | | | Use the file mode 0755 (executable but not suid) when installing the binary with INSTALL_UDEV_RULES=1. | ||
* | Version bump to 0.3 | Mykyta Holubakha | 2017-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 percentages | Markus Schneider | 2017-08-26 |
| | |||
* | Add --version flag | Christoph Gysin | 2017-07-28 |
| | |||
* | Add "info" operation and make it default | hcpl | 2017-07-28 |
| | | | | There should be an option to get a sole "current brightness" value. | ||
* | Update README | hcpl | 2017-07-28 |
| | |||
* | Add gitignore | Christoph Gysin | 2017-07-28 |
| | |||
* | Add comment to silence -Wimplicit-fallthrough | Christoph Gysin | 2017-07-28 |
| | |||
* | Remove trailing whitespace | Christoph Gysin | 2017-07-28 |
| | |||
* | Make it more portable | Mykyta Holubakha | 2017-06-11 |
| | |||
* | Update README.md | benjiprod | 2017-05-05 |
| | | | Dead link on AUR. | ||
* | Add AUR to README | Hummer12007 | 2017-02-18 |
| | |||
* | Fix logical errors | Mykyta Holubakha | 2017-01-18 |
| | | | | | | | | | | Restore device data only after successful read Do not set curr_brightness to max after an unsuccessful restore Fix ensure_dir Do not ignore ignore value of fread (fixes #6) | ||
* | Version bump | Mykyta Holubakha | 2017-01-17 |
| | |||
* | Readme hotfix | Hummer12007 | 2017-01-17 |
| | |||
* | Readme hotfix | Hummer12007 | 2017-01-17 |
| | |||
* | Updated readme | Mykyta Holubakha | 2017-01-17 |
| | |||
* | No longer require root privileges | Mykyta Holubakha | 2017-01-17 |
| | |||
* | Ensure state files are world-writable | Mykyta Holubakha | 2017-01-15 |
| | |||
* | Refactor directory access | Mykyta Holubakha | 2017-01-15 |
| | | | | Add static specifier to functions | ||
* | Updated makefile | Mykyta Holubakha | 2017-01-15 |
| | |||
* | Fix a null-pointer dereference in read_device | Mykyta Holubakha | 2017-01-15 |
| | |||
* | Merge pull request #5 from Miciah/various-fixes | Hummer12007 | 2017-01-15 |
|\ | | | | | Various fixes | ||
| * | Print error if run dir is not a directory | Miciah Masters | 2017-01-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print an error message if the run directory or the device-class subdirectory exists but is not a directory. Before: % rm -rf /tmp/brightnessctl % touch /tmp/brightnessctl % brightnessctl -s Device 'intel_backlight' of class 'backlight': Current brightness: 1000 (20%) Max brightness: 4794 % file /tmp/brightnessctl /tmp/brightnessctl: empty % After: % brightnessctl -s Error saving device data: Not a directory Could not save data for device 'intel_backlight'. Device 'intel_backlight' of class 'backlight': Current brightness: 1000 (20%) Max brightness: 4794 % | ||
| * | Clean up error handling | Miciah Masters | 2017-01-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make several changes to error handling: • Check for negative values from sprintf, and treat them as errors. • Check for errors from fscanf both by comparing its return value against EOF and by checking ferror. • Avoiding calling perror with errno set to -1. Either set a meaningful value, such as EINVAL, or use fprintf if errno cannot be expected to have a meaningful value. • Instead of re-using errno for internal error handling, use a new variable to indicate errors where it makes sense to do so. • In read_device, print more specific error messages if we fail to read a device's current or max brightness, and print an error message immediately if a read fails, instead of only maybe at the end of read_device. |