Update pulsebar after setting volume to 100%
This commit is contained in:
parent
3676776227
commit
7a26917b93
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue