From eda0388f06fb7cad13603bc4c4f5c44b7d1fc62c Mon Sep 17 00:00:00 2001 From: streetturtle Date: Wed, 25 Nov 2020 09:36:12 -0500 Subject: Update README.md --- text-clock-widget/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'text-clock-widget') diff --git a/text-clock-widget/README.md b/text-clock-widget/README.md index 0c07507..c4c6281 100644 --- a/text-clock-widget/README.md +++ b/text-clock-widget/README.md @@ -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 -- cgit v1.2.3