Daniel Rodríguez
ea837111b4
Increase precision for percent changes
Most notably with small percent changes, add or subtract, the error
introduced by truncation on double to integer keeps adding up.
Round raw values calculated from percentages to reduce error introduced
by truncation from double to integer.
преди 5 години
Fredrik Svantesson
48b9675f95
Fix README.md navigation
преди 5 години
Fredrik Svantesson
b914819dd4
Merge pull request #99 from 06kellyjac/nixos_install_details
Added installation instructions for NixOS/nix
преди 5 години
06kellyjac
3554f4b2b3
Added installation instructions for NixOS/nix
преди 5 години
Fredrik Svantesson
ae7a6ebb45
Merge pull request #91 from aesophor/improve-coding-style
Improve coding style - consistency of not placing a whitespace after `if`, and `while`
преди 5 години
Marco Wang
56492a98f3
helper: remove whitespace between while and left parenthesis
преди 5 години
Marco Wang
c668d26862
helper: remove whitespace between if and left parenthesis
преди 5 години
Marco Wang
520d221ccd
light: remove whitespace between if and left parenthesis
преди 5 години
Marco Wang
71f7755cb1
main: remove whitespace between if and left parenthesis
преди 5 години
Joachim Nilsson
9772ef4ef2
Merge pull request #88 from LW2904/patch-1
Fix config path information
преди 5 години
Joachim Nilsson
215dbcdeec
Follow-up to f14f4ee0, use correct struct member
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 5 години
Joachim Nilsson
11b84d6821
Merge branch 'TheJakeSchmidt-add-multiply-command'
преди 5 години
Joachim Nilsson
44771f6919
Minor coding style fixups
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 5 години
Joachim Nilsson
1a959445de
Merge branch 'add-multiply-command' of https://github.com/TheJakeSchmidt/light into TheJakeSchmidt-add-multiply-command
преди 5 години
Gerd Wachsmuth
f14f4ee08c
Update src/light.c
Co-Authored-By: TheJakeSchmidt <TheJakeSchmidt@users.noreply.github.com>
преди 5 години
lw
fea271c3e5
Fix config path information
преди 5 години
Joachim Nilsson
311b09e489
Merge branch 'alexmohr-master'
преди 5 години
Joachim Nilsson
93ab69e832
light.1: Fix save/restore brightness option flip
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 5 години
Joachim Nilsson
d686769b6c
README: Fix save/restore brightness option flip
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 5 години
Joachim Nilsson
02d97dd7dc
Merge branch 'master' of https://github.com/alexmohr/light into alexmohr-master
преди 5 години
Joachim Nilsson
e4cca6a42b
Merge pull request #85 from stanim/master
Fix github light release link
преди 5 години
Stani
4ece95c2b8
Fix github light release link
The github releases page was wrong. This will help users to install light faster.
преди 5 години
Fredrik Svantesson
4215ec1153
Merge pull request #83 from sim590/debian-udev-lib-path
debian: install udev rules under /lib
преди 5 години
Simon Désaulniers
119c54a978
debian: install udev rules under /lib
преди 5 години
Fredrik Svantesson
0687989adc
Merge pull request #82 from maximbaz/archlinux-official
Update installation instructions for Arch Linux
преди 6 години
Maxim Baz
8d656615fb
Update installation instructions for Arch Linux
преди 6 години
Alex
5a04d6268e
Fixed wrong help display
преди 6 години
Jake Schmidt
a8e924421f
Add a command -T that multiplies the brightness by the value.
Introduce the concept of a float-typed value in the context, for commands
like -T that don't work with percentages/raw values.
преди 6 години
Fredrik Svantesson
d75c5d4c9c
check result of split in find_device_target
преди 6 години
Joachim Nilsson
f53a0e308f
Update ChangeLog and bump version for v1.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
4e43abeb6f
Add Debian/Ubuntu build/install help
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
3846efc1fe
Merge pull request #70 from haikarainen/man-page-update
Fix #66 : Align man page with help text
преди 6 години
Joachim Nilsson
ccc248990a
Minor, fix spelling in man page
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
a5195d2a60
Merge pull request #71 from haikarainen/update-debian-packaging
Update debian packaging
преди 6 години
Joachim Nilsson
1285c7412d
Fix #66 : Actually update man page with new and changed settings
- Order commands and options similar to help text, not alphabetically
- Update command descriptions to new nomenclature
- Update copyright years
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
56c5b329ee
Drop debian package from release target and rename package: --> deb:
Seeing as light supports at least two different GNU/Linux distributions
it seems prudent to not claim 'package:' for Debian packages. This has
the added benefit of adding easy build targets for RedHat/Fedora, Arch,
and others.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
1466eaa3d5
Fix #68 : Update Debian/Ubuntu packaging
- Bump debhlper compat to >= 10 (Stretch)
- Update Standards-Version field, we seem to be compatible
- Update package Description filed, lintian complains of empty body
- Update changelog date and drop GitHub issue reference, confuses lintian
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
22ab2f7167
Fix spelling, found by lintian
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Joachim Nilsson
b266f86b2f
Fix #66 : Align man page with help text
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
преди 6 години
Fredrik Svantesson
1be06a4fb9
Fix #65
преди 6 години
Fredrik Svantesson
0010b89923
Fix formatting
преди 6 години
Fredrik Svantesson
066ef804ad
Add @troglobit and new PKGBUILD to README
преди 6 години
Fredrik Svantesson
c8898274e3
Add notice about video group for udev rules
преди 6 години
Fredrik Svantesson
621e1dbe7f
Add leds subsystem to udev rules
преди 6 години
Fredrik Svantesson
8f39b040d4
Added Arch Linux PKGBUILD, fixes #56
преди 6 години
Fredrik Svantesson
9d8ca6be3c
Undo modern C standard target because Ubuntu. Fixes #64
преди 6 години
Fredrik Svantesson
55ad3be529
Add untested and very experimental razer support #57
преди 6 години
Fredrik Svantesson
7bf19b3ebb
implement util enumerator, dryrun, fix #60
преди 6 години
Fredrik Svantesson
c4aab0c3ac
Fix memory errors, improve enum. impl.
преди 6 години
Fredrik Svantesson
a5caacb532
Merge pull request #61 from haikarainen/device-rewrite
Rewrite codebase, add device-system pewpew
преди 6 години