X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/44864dba370a427a67a6f4bf20ec9097bf5bde91..b5c2c4cab580d63be5b6e7e54b8c445b87fffaa5:/widgets/pulsebar.lua diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index 51de3a7..006515c 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -155,8 +155,7 @@ local function worker(args) awful.util.spawn(pulsebar.mixer) end), awful.button({}, 2, function() - awful.util.spawn(string.format("pactl set-sink-lolume %d 100%%", pulsebar.sink)) - pulsebar.update() + awful.util.spawn(string.format("pactl set-sink-volume %d 100%%", pulsebar.sink)) end), awful.button({}, 3, function() awful.util.spawn(string.format("pactl set-sink-mute %d toggle", pulsebar.sink))