Update OSD.ts
Replace Unicode to Icon
This commit is contained in:
+3
-3
@@ -44,10 +44,10 @@ export const OSD = (mon: number) => {
|
|||||||
child: new Widget.Box({
|
child: new Widget.Box({
|
||||||
className: "osd",
|
className: "osd",
|
||||||
children: [
|
children: [
|
||||||
new Widget.Label({
|
new Widget.Icon({
|
||||||
className: "icon",
|
className: "icon",
|
||||||
label: osdIcon
|
icon: bind(Wireplumber.getDefault().getDefaultSink(), "volumeIcon")
|
||||||
} as Widget.LabelProps),
|
} as Widget.IconProps),
|
||||||
new Widget.Box({
|
new Widget.Box({
|
||||||
className: "volume",
|
className: "volume",
|
||||||
orientation: Gtk.Orientation.VERTICAL,
|
orientation: Gtk.Orientation.VERTICAL,
|
||||||
|
|||||||
Reference in New Issue
Block a user