sbl/README.md

28 lines
722 B
Markdown
Raw Normal View History

2020-10-07 21:06:41 +02: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:
```sh
# 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