aboutsummaryrefslogtreecommitdiff
path: root/volume.lua
diff options
context:
space:
mode:
Diffstat (limited to 'volume.lua')
-rw-r--r--volume.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/volume.lua b/volume.lua
index 14a7b0f..603b9d3 100644
--- a/volume.lua
+++ b/volume.lua
@@ -15,7 +15,7 @@ module("vicious.volume")
-- {{{ Volume widget type
-function worker(format, channel)
+local function worker(format, channel)
-- Get mixer data
local f = io.popen("amixer get " .. channel)
local mixer = f:read("*all")