brightness-widget: fix typos
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
This commit is contained in:
parent
4068d4edf3
commit
cf2117fb45
|
@ -14,7 +14,7 @@ Firstly you need to get the current brightness level. There are two options:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install xbacklight
|
sudo apt-get install xbacklight
|
||||||
xbackligth -get
|
xbacklight -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:
|
||||||
|
@ -30,7 +30,7 @@ Firstly you need to get the current brightness level. There are two options:
|
||||||
light -G
|
light -G
|
||||||
49.18
|
49.18
|
||||||
```
|
```
|
||||||
Depending on the chosen option change `get_brightness_cmd` variable in **brightness.lua**.
|
Depending on the chosen option change `GET_BRIGHTNESS_CMD` variable in **brightness.lua**.
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue