An open API service indexing awesome lists of open source software.

https://github.com/franeklubi/abak

An unnecessarily minimal backlight controller
https://github.com/franeklubi/abak

asm assembly-x86 backlight nasm x86 x86-64

Last synced: 9 months ago
JSON representation

An unnecessarily minimal backlight controller

Awesome Lists containing this project

README

          

# abak

### Usage:
```sh
$ abak ; output: current backlight percentage
$ abak 20 ; sets backlight to 20%
$ abak +10 ; adds 10% to backlight
$ abak -10 ; subtracts 10% from backlight
```

### Installation:
(warning: I'm lazy - this makefile just builds the thing and moves it to /bin/)

1. You'll need to manually modify the config.asm
If You don't know how, You can use this sed command and it SHOULD work 😎:
```sh
sed -i -e "s/intel_backlight/$(ls /sys/class/backlight)/g" ./config.asm
```
2.
```sh
make install
```