summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendar-widget/README.md4
-rw-r--r--cpu-widget/cpu-widget.lua4
-rw-r--r--net-speed-widget/README.md21
-rw-r--r--ram-widget/README.md18
-rw-r--r--volume-widget/README.md4
5 files changed, 44 insertions, 7 deletions
diff --git a/calendar-widget/README.md b/calendar-widget/README.md
index 77b8fe7..3d878bf 100644
--- a/calendar-widget/README.md
+++ b/calendar-widget/README.md
@@ -45,8 +45,8 @@ local cw = calendar_widget()
-- or customized
local cw = calendar_widget({
theme = 'outrun',
- placement = 'bottom_right'
- radius = 8
+ placement = 'bottom_right',
+ radius = 8,
})
mytextclock:connect_signal("button::press",
function(_, _, _, button)
diff --git a/cpu-widget/cpu-widget.lua b/cpu-widget/cpu-widget.lua
index d804c80..c8b90c8 100644
--- a/cpu-widget/cpu-widget.lua
+++ b/cpu-widget/cpu-widget.lua
@@ -100,13 +100,14 @@ local function worker(user_args)
local step_width = args.step_width or 2
local step_spacing = args.step_spacing or 1
local color = args.color or beautiful.fg_normal
+ local background_color = args.background_color or "#00000000"
local enable_kill_button = args.enable_kill_button or false
local process_info_max_length = args.process_info_max_length or -1
local timeout = args.timeout or 1
local cpugraph_widget = wibox.widget {
max_value = 100,
- background_color = "#00000000",
+ background_color = background_color,
forced_width = width,
step_width = step_width,
step_spacing = step_spacing,
@@ -163,6 +164,7 @@ local function worker(user_args)
layout = wibox.container.mirror
},
bottom = 2,
+ color = background_color,
widget = wibox.container.margin
}
diff --git a/net-speed-widget/README.md b/net-speed-widget/README.md
index 1cac674..a09893e 100644
--- a/net-speed-widget/README.md
+++ b/net-speed-widget/README.md
@@ -1,3 +1,22 @@
# Net Speed Widget
-The widget and readme is in progress \ No newline at end of file
+The widget and readme is in progress
+
+## Installation
+
+Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo.
+
+Clone repo, include widget and use it in **rc.lua**:
+
+```lua
+local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed")
+...
+s.mytasklist, -- Middle widget
+ { -- Right widgets
+ layout = wibox.layout.fixed.horizontal,
+ ...
+ net_speed_widget(),
+ ...
+ }
+ ...
+```
diff --git a/ram-widget/README.md b/ram-widget/README.md
index 8f8eee4..dcbf9ab 100644
--- a/ram-widget/README.md
+++ b/ram-widget/README.md
@@ -18,4 +18,20 @@ It is possible to customize widget by providing a table with all or some of the
## Installation
-Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo. \ No newline at end of file
+Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo.
+
+Clone repo, include widget and use it in **rc.lua**:
+
+```lua
+local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
+...
+s.mytasklist, -- Middle widget
+ { -- Right widgets
+ layout = wibox.layout.fixed.horizontal,
+ ...
+ ram_widget(),
+ ...
+ }
+ ...
+```
+
diff --git a/volume-widget/README.md b/volume-widget/README.md
index d08b795..52e1704 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -30,7 +30,7 @@ s.mytasklist, -- Middle widget
volume_widget(),
-- customized
volume_widget{
- type = 'arc'
+ widget_type = 'arc'
},
```
@@ -52,7 +52,7 @@ It is possible to customize the widget by providing a table with all or some of
| Name | Default | Description |
|---|---|---|
-| `type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` |
+| `widget_type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` |
Depending on the chosen widget type add parameters from the corresponding section below: