brightness popup works as well

This commit is contained in:
Myryk
2024-05-29 18:04:23 +02:00
parent 6f7577467a
commit cdf4b7dc06
@@ -59,6 +59,7 @@ export default (monitor = 0) => {
}, 'notify::screen-value'),
progressSetup: (self) => self.hook(Brightness[monitor], (progress) => {
const updateValue = Brightness[monitor].screen_value;
if (updateValue != progress.value) Indicator.popup(1);
progress.value = updateValue;
}, 'notify::screen-value'),
});