summaryrefslogtreecommitdiff
path: root/volume-widget/volume.lua
diff options
context:
space:
mode:
Diffstat (limited to 'volume-widget/volume.lua')
-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