X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/a6959d99c42658eae495ec0c229d5fe102b42234..c23c2660e9b1ab45f97703e6c916c4e96c339b00:/widgets/alsabar.lua diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index c1d25d0..b20bc40 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -155,23 +155,23 @@ local function worker(args) end end - alsabar.bar:buttons (awful.util.table.join ( - awful.button ({}, 1, function() + alsabar.bar:buttons(awful.util.table.join ( + awful.button({}, 1, function() awful.util.spawn(alsabar.mixer) end), - awful.button ({}, 2, function() + awful.button({}, 2, function() awful.util.spawn(string.format("%s set %s 100%%", alsabar.cmd, alsabar.channel)) pulsebar.update() end), - awful.button ({}, 3, function() + awful.button({}, 3, function() awful.util.spawn(string.format("%s set %s toggle", alsabar.cmd, alsabar.channel)) alsabar.update() end), - awful.button ({}, 4, function() + awful.button({}, 4, function() awful.util.spawn(string.format("%s set %s %s+", alsabar.cmd, alsabar.channel, alsabar.step)) alsabar.update() end), - awful.button ({}, 5, function() + awful.button({}, 5, function() awful.util.spawn(string.format("%s set %s %s-", alsabar.cmd, alsabar.channel, alsabar.step)) alsabar.update() end)