https://github.com/kamiyaa/arclight
re-implementation of acpilight with less features
https://github.com/kamiyaa/arclight
acpi-brightness c sysfs udev-rules
Last synced: over 1 year ago
JSON representation
re-implementation of acpilight with less features
- Host: GitHub
- URL: https://github.com/kamiyaa/arclight
- Owner: kamiyaa
- License: bsd-3-clause
- Created: 2018-05-12T14:42:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-27T21:44:39.000Z (about 8 years ago)
- Last Synced: 2025-01-31T21:48:01.707Z (over 1 year ago)
- Topics: acpi-brightness, c, sysfs, udev-rules
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arclight
## Description
Similar to [acpilight](https://github.com/wavexx/acpilight), but written in C and requires user to specify an interface.
Why C? Because I don't want programs holding back python system updates.
## Installation
First, download the source using either HTTP or SSH:
```
$ git clone https://github.com/Kamiyaa/arclight.git
$ git clone git@github.com:Kamiyaa/arclight.git
```
Then install using **meson**:
```
$ meson build
$ ninja -C build/
# ninja -C build/ install
```
## Usage
```
$ arclight # list all valid interfaces
intel_backlight
tpacpi::thinkvantage
tpacpi::standby
input2::capslock
input2::numlock
tpacpi::thinklight
phy0-led
tpacpi::power
input2::scrolllock
```
```
$ arclight -i intel_backlight -u 5 # increase brightness by 5%
$ arclight -i intel_backlight -d 5 # decrease brightness by 5%
$ arclight -i intel_backlight -s 255 # set brightness to 255 (vendor specific)
```