@@ -67,7 +67,10 @@ const renderOSD = () => {
|
|||||||
}, "notify::kbd")
|
}, "notify::kbd")
|
||||||
self.hook(audio.speaker, () => {
|
self.hook(audio.speaker, () => {
|
||||||
handleReveal(self, "reveal_child");
|
handleReveal(self, "reveal_child");
|
||||||
})
|
}, "notify::volume")
|
||||||
|
self.hook(audio.speaker, () => {
|
||||||
|
handleReveal(self, "visible");
|
||||||
|
}, "notify::is-muted")
|
||||||
|
|
||||||
},
|
},
|
||||||
child: Widget.Box({
|
child: Widget.Box({
|
||||||
@@ -125,7 +128,10 @@ export default () => Widget.Window({
|
|||||||
}, "notify::kbd")
|
}, "notify::kbd")
|
||||||
self.hook(audio.speaker, () => {
|
self.hook(audio.speaker, () => {
|
||||||
handleReveal(self, "visible");
|
handleReveal(self, "visible");
|
||||||
})
|
}, "notify::volume")
|
||||||
|
self.hook(audio.speaker, () => {
|
||||||
|
handleReveal(self, "visible");
|
||||||
|
}, "notify::is-muted")
|
||||||
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user