aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/backlight/backlight.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* backlight(8): Update usage() to match the manual pageMateusz Piotrowski2022-07-191-5/+5
| | | | MFC after: 1 week
* backlight: Remove set but not used variablePiotr Pawel Stefaniak2022-03-181-3/+0
|
* backlight: Fix incr/decr with percent value of 0David Schlachter2021-03-031-2/+7
| | | | | | | This now does nothing instead of incr/decr by 10% MFC After: 3 days PR: 253736
* backlight: check the lenght if the input before trimming '%'Baptiste Daroussin2020-10-061-1/+2
| | | | | | | | | Reported by: hps Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26693 Notes: svn path=/head/; revision=366472
* backlight: accept '%' in the brightness input valueBaptiste Daroussin2020-10-061-0/+3
| | | | | | | | | | | Improve friendlyness of the command line by accepting the percent brightness in both format: with or without a trailing '%' Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26692 Notes: svn path=/head/; revision=366471
* Add backlight(8)Emmanuel Vadot2020-10-021-0/+220
This tool is used to configure registered backlights. It can incr/decr (default to 10%) or accept a percentage value directly. Reviewed by: manpages (gbe@) Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26251 Notes: svn path=/head/; revision=366370