Update brightness-widget.md

This commit is contained in:
streetturtle 2019-02-11 08:41:31 -05:00 committed by GitHub
parent ef4b601d45
commit 34bcbfde48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions

View File

@ -58,19 +58,6 @@ s.mytasklist, -- Middle widget
...
```
Then in **rc.lua** add the import on top of the file and then add widget to the wibox:
```lua
require("awesome-wm-widgets.brightness-widget.brightness")
...
-- Add widgets to the wibox
s.mywibox:setup {
...
{ -- Right widgets
...
brightness_widget
```
## Controls
In order to change brightness by shortcuts you can add them to the `globalkeys` table in the **rc.lua**: