franeklubi / abak

An unnecessarily minimal backlight controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

abak

Usage:

$ 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 😎:
sed -i -e "s/intel_backlight/$(ls /sys/class/backlight)/g" ./config.asm
make install

About

An unnecessarily minimal backlight controller

License:MIT License


Languages

Language:Assembly 92.8%Language:Makefile 7.2%