aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a LIBRARY section to lux.h(3head)v1.0.2Thomas Voss 2022-11-171-0/+2
|
* Uppercase the arguments to .DtThomas Voss 2022-11-171-1/+1
|
* Match lux.h.3head, not lux.h.0v1.0.1Thomas Voss 2022-11-171-1/+2
|
* Remove redundant compiler flagThomas Voss 2022-11-171-2/+1
| | | | | | The -fomit-frame-pointer optimization is already enabled at -O1 and we are compiling with -O3, so this is not something we need to manually specify.
* Don't check for O_PATH being definedThomas Voss 2022-11-173-7/+2
| | | | | | | | O_PATH has been in Linux since version 2.6.39, which was a very long time ago. Additionally, this library only works on Linux anyways since the interface to backlight information is Linux-specific. Therefore we have no real reason to bother with handling the case where it's not defined.
* Use LIBLUX_ as a macro prefixThomas Voss 2022-11-173-12/+12
|
* Formatting fixThomas Voss 2022-11-171-6/+6
|
* Use compact listsThomas Voss 2022-11-171-3/+6
|
* Make use of the new 3head sectionThomas Voss 2022-11-175-16/+17
|
* Set the OS to LinuxThomas Voss 2022-11-144-8/+8
| | | | | This library interacts with the Linux-specific sysfs(5), so we should specify that it is Linux specific.
* Use link time optimizationsThomas Voss 2022-11-141-1/+1
|
* Properly update mdoc.localThomas Voss 2022-10-151-3/+4
|
* Actually cleanup after ourselvesv1.0.0Thomas Voss 2022-10-131-2/+7
|
* Fix broken install pathsThomas Voss 2022-10-131-3/+3
|
* Ignore the .tup/ folderThomas Voss 2022-10-131-0/+1
|
* Escape backticksThomas Voss 2022-10-131-1/+1
|
* Link to lux.h(0)Thomas Voss 2022-10-131-3/+3
|
* Update compilation instructionsThomas Voss 2022-10-131-2/+3
|
* Document the change from struct luxdisp to lux_tThomas Voss 2022-10-134-39/+39
|
* Move from make(1) to tup(1)Thomas Voss 2022-10-134-23/+34
|
* Move functions to their own filesThomas Voss 2022-10-1315-224/+468
| | | | | | Also we move the source code to a src/ directory. We also move from using `struct luxdisp` to `lux_t` to signify that we don’t want the user to be messing with the struct members.
* Update my email-addressThomas Voss 2022-10-014-8/+8
|
* Change write location of Lb-desc.tmacThomas Voss 2022-09-211-1/+1
| | | | | | | It does totally work to write the contents of man/Lb-desc.tmac to the doc-syms file; the intended way however is to write to the man.local and mdoc.local files. Since these manuals use mandoc, we write to mdoc.local.
* Add a library manualThomas Voss 2022-09-212-2/+109
|
* Add more words to dictionaryThomas Voss 2022-09-212-2/+14
|
* Add a LIBRARY section to manualsThomas Voss 2022-09-215-3/+20
|
* Add the final manualsThomas Voss 2022-09-106-0/+259
|
* Fix typosThomas Voss 2022-09-092-11/+11
|
* Use aspell(1) for spell checkingThomas Voss 2022-09-093-0/+37
|
* Add manual pages for 3 more functionsThomas Voss 2022-09-083-0/+183
|
* Fix vi modelineThomas Voss 2022-09-082-3/+3
|
* Add manuals for luxfree() and luxinit()Thomas Voss 2022-08-302-0/+135
|
* Add a READMEThomas Voss 2022-08-271-0/+40
|
* Add C++ compatibilityThomas Voss 2022-08-271-0/+8
|
* Add more library functionsThomas Voss 2022-08-272-24/+71
| | | | | | | | | | | | | | | | | With this commit, the following functions have been added to the library: - int luxinc(struct luxdisp *, int) | Increment brightness by a raw value - int luxdec(struct luxdisp *, int) | Decrement brightness by a raw value - double luxgetp(struct luxdisp *) | Get the current brightness as a percentage - double luxsetp(struct luxdisp *, double) | Set the current brightness with a percentage - double luxincp(struct luxdisp *, double) | Increment brightness by a percentage - double luxdecp(struct luxdisp *, double) | Decrement brightness by a percentage
* Add gitignoreThomas Voss 2022-08-271-0/+2
|
* Add source code files in their uncompleted stateThomas Voss 2022-08-092-0/+204
| | | | | | | | | | The current state of the library contains support for the following functions: - int luxinit(struct luxdisp *) | Init a luxdisp struct - int luxget(struct luxdisp *) | Get the current brightness - int luxset(struct luxdisp *, int) | Set the current brightness - int luxmax(struct luxdisp *) | Get the maximum brightness - void luxfree(struct luxdisp *) | Free a luxdisp struct
* Add MakefileThomas Voss 2022-08-091-0/+27
|
* Add license fileThomas Voss 2022-08-091-0/+14