From: Luke Bonham Date: Sun, 4 Dec 2016 11:41:54 +0000 (+0100) Subject: Merge pull request #240 from 2009/feature/pulsebar-addition-mouse-controls X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a6959d99c42658eae495ec0c229d5fe102b42234?hp=ca0c1a666a0a6d17b89633332769618958d3e21d Merge pull request #240 from 2009/feature/pulsebar-addition-mouse-controls Fix typo in pactl command --- diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index eec3428..c1d25d0 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -159,6 +159,10 @@ local function worker(args) awful.button ({}, 1, function() awful.util.spawn(alsabar.mixer) end), + 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.util.spawn(string.format("%s set %s toggle", alsabar.cmd, alsabar.channel)) alsabar.update() diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index 5852c39..309016d 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -27,7 +27,7 @@ local setmetatable = setmetatable -- lain.widgets.pulsebar local pulsebar = { sink = 0, - step = "5%", + step = "1%", colors = { background = beautiful.bg_normal, diff --git a/wiki b/wiki index 8555dd3..871d249 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 8555dd328bbf444175fbfece962a50017b219a5e +Subproject commit 871d249789aa00159943fc8553fe0cbfc2159cfd