Merge pull request #38 from jedrz/alsa-fix-muted-formatter
alsa: do not ignore unmuted setting
This commit is contained in:
commit
07fbfc6640
@ -67,7 +67,7 @@ class ALSA(IntervalModule):
|
|||||||
muted = self.alsamixer.getmute()[self.channel] == 1
|
muted = self.alsamixer.getmute()[self.channel] == 1
|
||||||
|
|
||||||
self.fdict["volume"] = self.alsamixer.getvolume()[self.channel]
|
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 = {
|
self.output = {
|
||||||
"full_text": self.format.format(**self.fdict),
|
"full_text": self.format.format(**self.fdict),
|
||||||
|
Loading…
Reference in New Issue
Block a user