Merge branch 'master' of https://github.com/streetturtle/AwesomeWM
This commit is contained in:
commit
64652e0f38
|
@ -18,9 +18,9 @@ $ acpi
|
||||||
Battery 0: Discharging, 66%, 02:34:06 remaining
|
Battery 0: Discharging, 66%, 02:34:06 remaining
|
||||||
```
|
```
|
||||||
|
|
||||||
- clone/copy battery.lua file to ~/.config/awesome/ folder;
|
- clone/copy **battery.lua** file to **~/.config/awesome/** folder;
|
||||||
|
|
||||||
- include `battery.lua` and add battery widget to your wibox in rc.lua:
|
- include **battery.lua** and add battery widget to your wibox in **rc.lua**:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
require("battery")
|
require("battery")
|
||||||
|
@ -31,4 +31,4 @@ s.mytasklist, -- Middle widget
|
||||||
...
|
...
|
||||||
battery_widget,
|
battery_widget,
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue