From: Justin Endacott Date: Tue, 6 Dec 2016 17:48:18 +0000 (+1000) Subject: Update pulsebar after setting volume to 100% X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7a26917b93ee53ec7ea665cbc557bd476586ced2?hp=--cc Update pulsebar after setting volume to 100% --- 7a26917b93ee53ec7ea665cbc557bd476586ced2 diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index 006515c..7f22642 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -156,6 +156,7 @@ local function worker(args) end), awful.button({}, 2, function() awful.util.spawn(string.format("pactl set-sink-volume %d 100%%", pulsebar.sink)) + pulsebar.update() end), awful.button({}, 3, function() awful.util.spawn(string.format("pactl set-sink-mute %d toggle", pulsebar.sink))