Update README.md

This commit is contained in:
streetturtle 2020-11-25 09:36:12 -05:00 committed by GitHub
parent 5e00300944
commit eda0388f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,21 @@ It is possible to customize widget by providing a table with all or some of the
| military_time | `false` | 12 or 24 time format |
| with_spaces | `false` | Separate words with spaces |
## Installation
Clone repo, include widget and use it in **rc.lua**:
```lua
local text_clock = require("awesome-wm-widgets.text-clock-widget.text-clock")
...
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
...
text_clock(),
...
```
# Screenshots
```lua