Skip to content

Instantly share code, notes, and snippets.

@tych0
Created May 2, 2013 22:38
Show Gist options
  • Save tych0/5506011 to your computer and use it in GitHub Desktop.
Save tych0/5506011 to your computer and use it in GitHub Desktop.
diff --git a/libqtile/widget/volume.py b/libqtile/widget/volume.py
index da0a97a..5cbb494 100644
--- a/libqtile/widget/volume.py
+++ b/libqtile/widget/volume.py
@@ -57,7 +57,7 @@ class Volume(base._TextBox):
vol = self.get_volume()
if vol != self.volume:
self.volume = vol
- self.draw()
+ self.bar.draw()
return True
def setup_images(self):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment