forked from Shinonome/dots-hyprland
sideright: audio controls: use correct value for icon
This commit is contained in:
@@ -15,7 +15,11 @@ const AppVolume = (stream) => Box({
|
|||||||
tooltipText: stream.stream.name,
|
tooltipText: stream.stream.name,
|
||||||
setup: (self) => {
|
setup: (self) => {
|
||||||
self.hook(stream, (self) => {
|
self.hook(stream, (self) => {
|
||||||
self.icon = substitute(stream.stream.name);
|
self.icon = substitute(
|
||||||
|
stream["icon-name"] ||
|
||||||
|
stream.stream["icon-name"] ||
|
||||||
|
stream.stream["application-id"] ||
|
||||||
|
stream.stream["name"]);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user