pull #238: set step to 1%; added same middle click event to alsabar
This commit is contained in:
parent
c7630b3f10
commit
14d047eaa7
3 changed files with 6 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -27,7 +27,7 @@ local setmetatable = setmetatable
|
|||
-- lain.widgets.pulsebar
|
||||
local pulsebar = {
|
||||
sink = 0,
|
||||
step = "5%",
|
||||
step = "1%",
|
||||
|
||||
colors = {
|
||||
background = beautiful.bg_normal,
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit 8555dd328bbf444175fbfece962a50017b219a5e
|
||||
Subproject commit 871d249789aa00159943fc8553fe0cbfc2159cfd
|
Loading…
Add table
Reference in a new issue