🔧 chore(modules/utils, osd): use secureBaseBinding() for osd modes

This commit is contained in:
retrozinndev
2025-09-28 13:38:52 -03:00
parent 6018d6d792
commit 914d949ad3
3 changed files with 94 additions and 12 deletions
+2 -2
View File
@@ -291,7 +291,7 @@ you should use the socket in the XDG_RUNTIME_DIR/colorshell.sock for a faster re
this.#connections.set(Wireplumber.getDefault(),
Wireplumber.getDefault().getDefaultSink().connect("notify::volume", () =>
!Windows.getDefault().isOpen("control-center") &&
triggerOSD(OSDModes.SINK)
triggerOSD(OSDModes.sink)
)
);
@@ -311,7 +311,7 @@ you should use the socket in the XDG_RUNTIME_DIR/colorshell.sock for a faster re
this.#connections.set(defaultBk, defaultBk.connect("brightness-changed", () =>
!Windows.getDefault().isOpen("control-center") &&
triggerOSD(OSDModes.BRIGHTNESS)
triggerOSD(OSDModes.brightness)
));
})
);