summaryrefslogtreecommitdiff
path: root/volumearc-widget
diff options
context:
space:
mode:
Diffstat (limited to 'volumearc-widget')
-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 aac7e90..0bcd7c7 100644
--- a/volumearc-widget/README.md
+++ b/volumearc-widget/README.md
@@ -50,26 +50,13 @@ Above config results in 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,
+ ...
+```