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.
28 lines
722 B
28 lines
722 B
4 years ago
|
# 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
|