summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/volume.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index dfcd80d..efb9d20 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -44,6 +44,7 @@ watch(
elseif (volume >= 50 and volume < 75) then volume_icon_name="audio-volume-medium-symbolic"
elseif (volume >= 75 and volume <= 100) then volume_icon_name="audio-volume-high-symbolic"
end
- volume_widget.image = path_to_icons .. volume_icon_name .. ".svg"
- end
+ widget.image = path_to_icons .. volume_icon_name .. ".svg"
+ end,
+ volume_widget
)