💅 style(osd, config/hypr): update color scheme and normalize brightness calculation
This commit is contained in:
2 files changed
+12
-12
No files matched your search
+1
-1
@@ -58,8 +58,8 @@ class BrightnessOSDContainer(Box):
|
||||
|
||||
def update_brightness(self) -> None:
|
||||
current_brightness = self.brightness_service.screen_brightness
|
||||
normalized_brightness = self._normalize_brightness(current_brightness)
|
||||
if current_brightness != 0:
|
||||
normalized_brightness = self._normalize_brightness(current_brightness)
|
||||
self.scale.animate_value(normalized_brightness)
|
||||
self.update_icon(normalized_brightness)
|
||||
|
||||
|
||||
Reference in new issue
Block a user