Written in python, allows you to control the screen brightness (iX processors family), via command line interface.
For archlinux users there's an AUR package.
Download the script
$ git clone https://git.eigenlab.org/sbiego/iblu
Make it executable and copy it /usr/bin
$ chmod +x iblu/iblu.py
$ sudo cp iblu/iblu.py /usr/bin/iblu
Create the unit file (permissions of the brightness file in '/sys/')
# create unit file
$ iblu UNIT > /usr/lib/systemd/system/iblu.service
# autorun at BOOT
$ sudo systemctl enable iblu.service
Done!
If you dont want to reboot to use iblu start the service right now:
$ sudo systemctl start iblu.service
- 0-100 sets backlight to the given percentage
- i (inc) increases backlight by a step, optionally add a number to custom percentage (default is 3%)
- d (dec) decreases backlight, optionally add a number to custom percentage (default is 3%)
- c (curr) shows the current
- v shows verbose output
- V shows very verbose output (for debug)
- OFF turns off backlight (use with a grain of salt)
- UNIT prompts in terminal the Systemd unit raw text (better using with I/O redirecting)
iblu i30 #increases of 30% the current backlight (30 is optional)