You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alessandro Mauri 599065ea07 cleanup and fix savefile creation 4 years ago
.gitignore initiated commitment 4 years ago
LICENSE initiated commitment 4 years ago
README.md initiated commitment 4 years ago
makefile initiated commitment 4 years ago
sbl.1 initiated commitment 4 years ago
sbl.c cleanup and fix savefile creation 4 years ago

README.md

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