summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--volumearc-widget/README.md33
1 files changed, 10 insertions, 23 deletions
diff --git a/volumearc-widget/README.md b/volumearc-widget/README.md
index 9f59fc1..9f1a60e 100644
--- a/volumearc-widget/README.md
+++ b/volumearc-widget/README.md
@@ -50,26 +50,13 @@ The config above results in the following widget:
1. Require volumearc widget at the beginning of **rc.lua**:
- ```lua
- local volumearc_widget = require("awesome-wm-widgets.volumearc-widget.volumearc")
- ```
-
-1. Add widget to the tasklist:
-
- ```lua
- s.mytasklist, -- Middle widget
- { -- Right widgets
- layout = wibox.layout.fixed.horizontal,
- ...
- --[[default]]
- volumearc_widget(),
- --[[or customized]]
- volumearc_widget({
- main_color = '#af13f7',
- mute_color = '#ff0000',
- thickness = 5,
- height = 25
- }),
-
- ...
- ```
+```lua
+require("volumearc")
+...
+s.mytasklist, -- Middle widget
+ { -- Right widgets
+ layout = wibox.layout.fixed.horizontal,
+ ...
+ volumearc_widget,
+ ...
+```