alsa: do not ignore unmuted setting

This commit is contained in:
Łukasz Jędrzejewski 2014-03-05 14:30:25 +01:00
parent 0068e1bf0f
commit f2dcd6214e

View File

@ -67,7 +67,7 @@ class ALSA(IntervalModule):
muted = self.alsamixer.getmute()[self.channel] == 1
self.fdict["volume"] = self.alsamixer.getvolume()[self.channel]
self.fdict["muted"] = self.muted if muted else self.muted
self.fdict["muted"] = self.muted if muted else self.unmuted
self.output = {
"full_text": self.format.format(**self.fdict),