summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/README.md2
-rw-r--r--volume-widget/volume.lua2
2 files changed, 3 insertions, 1 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md
index d6f6f18..2006faa 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -2,6 +2,8 @@
Simple and easy-to-install widget for Awesome Window Manager which represents the sound level: ![Volume Wiget](./vol-widget-1.png)
+Note that widget uses the Arc icon theme, so it should be [installed](https://github.com/horst3180/arc-icon-theme#installation) first under **/usr/share/icons/Arc/** folder.
+
## Installation
- clone/copy **volume.lua** file;
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index 3a4793a..90251a6 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -14,7 +14,7 @@ function update_volume()
elseif (volume >= 60 and volume < 80) then volume_icon_name="audio-volume-medium-panel"
elseif (volume >= 80 and volume <= 100) then volume_icon_name="audio-volume-high-panel"
end
- volume_icon:set_image("/usr/share/icons/Arc-Icons/panel/22/" .. volume_icon_name .. ".svg")
+ volume_icon:set_image("/usr/share/icons/Arc/panel/22/" .. volume_icon_name .. ".svg")
end)
end