💅 style(osd, config/hypr): update color scheme and normalize brightness calculation

This commit is contained in:
sankalp committed 2025-07-11 22:45:31 +05:45
1 parent 8f12b04a02
commit 36deefa200
2 files changed
+12 -12

No files matched your search

+11 -11
View File
@@ -1,25 +1,25 @@
$wallpaper = /home/sankalp/Pictures/wallpapers/17.png
$background = 1a120d
$foreground = f0dfd7
$wallpaper = /home/sankalp/Pictures/wallpapers/example-1.jpg
$background = 1a1110
$foreground = f1dedd
$primary = ffb68c
$secondary = e5bfaa
$tertiary = ccc992
$surface = 1a120d
$surface_bright = 413732
$outline = 9f8d84
$primary = ffb3ad
$secondary = e7bdb9
$tertiary = e1c28c
$surface = 1a1110
$surface_bright = 423736
$outline = a08c8a
$error = ff5945
$shadow = 000000
$red = ffb59b
$red = ffb4aa
$green = b7d085
$yellow = dec56e
$blue = cebdfe
$magenta = fcb0d5
$cyan = 84d5c4
$white = 82d3e0
$red_dim = ff6a35
$red_dim = ff5a44
$green_dim = 89ad42
$yellow_dim = bb9b2b
$blue_dim = 8359fc
+1 -1
View File
@@ -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)