mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
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,
|
||||
setup: (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