Merge pull request #241 from 2009/master

Fix typo in return statement
This commit is contained in:
Luke Bonham 2016-12-06 12:38:31 +01:00 committed by GitHub
commit 2d67c39620
1 changed files with 2 additions and 1 deletions

View File

@ -156,6 +156,7 @@ local function worker(args)
end), end),
awful.button({}, 2, function() awful.button({}, 2, function()
awful.util.spawn(string.format("pactl set-sink-volume %d 100%%", pulsebar.sink)) awful.util.spawn(string.format("pactl set-sink-volume %d 100%%", pulsebar.sink))
pulsebar.update()
end), end),
awful.button({}, 3, function() awful.button({}, 3, function()
awful.util.spawn(string.format("pactl set-sink-mute %d toggle", pulsebar.sink)) awful.util.spawn(string.format("pactl set-sink-mute %d toggle", pulsebar.sink))
@ -178,4 +179,4 @@ local function worker(args)
return pulsebar return pulsebar
end end
eturn setmetatable(pulsebar, { __call = function(_, ...) return worker(...) end }) return setmetatable(pulsebar, { __call = function(_, ...) return worker(...) end })