mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
sideright: audio controls: use correct value for icon
This commit is contained in:
parent
e6578cd43f
commit
67b4b5d9e0
1 changed files with 5 additions and 1 deletions
|
|
@ -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"]);
|
||||
})
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue