[modules/pulsectl] add friendly name support
thanks to @anopheles for figuring out this is still missing
This commit is contained in:
parent
7a1022de46
commit
97a022e452
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Module(core.module.Module):
|
||||||
res = f"{res} {util.graph.hbar(self.__volume*100)}"
|
res = f"{res} {util.graph.hbar(self.__volume*100)}"
|
||||||
|
|
||||||
if self.__show_device_name:
|
if self.__show_device_name:
|
||||||
friendly_name = self.__devicename
|
friendly_name = self.parameter(self.__devicename, self.__devicename)
|
||||||
icon = self.parameter("icon." + self.__devicename, "")
|
icon = self.parameter("icon." + self.__devicename, "")
|
||||||
res = (
|
res = (
|
||||||
icon + " " + friendly_name + " | " + res
|
icon + " " + friendly_name + " | " + res
|
||||||
|
|
Loading…
Reference in a new issue