summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2021-04-11 20:31:58 -0400
committerstreetturtle <streetturtle@gmail.com>2021-04-11 20:31:58 -0400
commitaaa6fa2aaa6abce718db3170cd3a6db6d45d60e5 (patch)
tree1b517d147d4b406a46d76f398dc789dd926df49c /volume-widget
parentfc0293047ba898a546901d53e6cc1ca5c02d8787 (diff)
[volume] fix #248
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/volume.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index 59f0a7a..6e99f27 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -167,7 +167,7 @@ local function worker(user_args)
local refresh_rate = args.refresh_rate or 1
if widget_types[widget_type] == nil then
- volume.widget = widget_types['icon_and_text'].get_widget(user_args.icon_and_text_args)
+ volume.widget = widget_types['icon_and_text'].get_widget(args.icon_and_text_args)
else
volume.widget = widget_types[widget_type].get_widget(args)
end