Update README.md

This commit is contained in:
streetturtle 2017-09-02 00:46:26 -04:00 committed by GitHub
parent f3694c759d
commit e47b79035f
1 changed files with 15 additions and 15 deletions

View File

@ -10,26 +10,26 @@ Firstly you need to get the current brightness level. There are two options:
- using `xbacklight` command (depending on your video card (I guess) it may or may not work) - using `xbacklight` command (depending on your video card (I guess) it may or may not work)
To check if it works install xbackligth and check if it works: To check if it works install xbackligth and check if it works:
```bash ```bash
$ sudo apt-get install xbacklight sudo apt-get install xbacklight
$ xbackligth -get xbackligth -get
``` ```
If there is no output it means that it doesn't work, but there is a second option: If there is no output it means that it doesn't work, but there is a second option:
- using `light` command - using `light` command
Install it from this git repo: [github.com/haikarainen/light](https://github.com/haikarainen/light) and check if it works but running Install it from this git repo: [github.com/haikarainen/light](https://github.com/haikarainen/light) and check if it works but running
```bash ```bash
git clone https://github.com/haikarainen/light.git && \ git clone https://github.com/haikarainen/light.git && \
cd ./light && \ cd ./light && \
sudo make && sudo make install \ sudo make && sudo make install \
light -G light -G
49.18 49.18
``` ```
Then in **rc.lua** add the import on top of the file and then add widget to the wibox: Then in **rc.lua** add the import on top of the file and then add widget to the wibox: