]> git.madduck.net Git - etc/awesome.git/blobdiff - widgets/pulsebar.lua

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Create LICENSE
[etc/awesome.git] / widgets / pulsebar.lua
index fc697fa0902e755e1ec0579300d849b48bf49c8d..5004be6415e4608b3e7a20a36e5c64ccfadf7a6b 100644 (file)
@@ -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] ")