forked from Shinonome/dots-hyprland
brightness popup works as well
This commit is contained in:
@@ -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'),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user