Go to file
2020-11-16 22:26:09 +01:00
.gitignore initiated commitment 2020-10-07 21:06:41 +02:00
LICENSE initiated commitment 2020-10-07 21:06:41 +02:00
makefile initiated commitment 2020-10-07 21:06:41 +02:00
README.md initiated commitment 2020-10-07 21:06:41 +02:00
sbl.1 initiated commitment 2020-10-07 21:06:41 +02:00
sbl.c cleanup and fix savefile creation 2020-10-08 14:36:47 +02:00
TODO add todo 2020-11-16 22:26:09 +01:00

Simple backlight

Simple utility to change the backlight

Features

  • Set the monitor to change
  • Save and restore backlight
  • Written in C99, that is a pro i guess...

Getting

Clone this repository, then use make to compile, make install and make uninstall to install and uninstall, finally make clean to remove all the compiled junk from the folder.

Usage

Here are some examples:

# Increase brightness by 10% and save the changed brightness to $HOME/.savefile
$ sbl -c $HOME/.savefile -S -i 10
# Set the brightness to 30%
$ sbl -s 30
# Restore the saved backlight value from example 1
$ sbl -c $HOME/.savefile -r
# Forgot what does what?
$ sbl -h

Read the man page for detailed instructions