X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/687b76a56566c3390695b8a23535704aa9046ff7..0493baffd5f17b6331974ae1dac4d404d016e351:/widgets/pulsebar.lua?ds=inline diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index fc697fa..6955b04 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -1,10 +1,10 @@ --[[ - - Licensed under GNU General Public License v2 - * (c) 2013, Luke Bonham - * (c) 2013, Rman - + + Licensed under GNU General Public License v2 + * (c) 2013, Luke Bonham + * (c) 2013, Rman + --]] local newtimer = require("lain.helpers").newtimer @@ -134,7 +134,7 @@ local function worker(args) then pulsebar._current_level = volu pulsebar.bar:set_value(pulsebar._current_level / 100) - if not mute and volu == 0 or mute == "no" + if not mute and volu == 0 or mute == "yes" then pulsebar._muted = true pulsebar.tooltip:set_text (" [Muted] ")