💅 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
+11
-11
@@ -1,25 +1,25 @@
|
|||||||
$wallpaper = /home/sankalp/Pictures/wallpapers/17.png
|
$wallpaper = /home/sankalp/Pictures/wallpapers/example-1.jpg
|
||||||
$background = 1a120d
|
$background = 1a1110
|
||||||
$foreground = f0dfd7
|
$foreground = f1dedd
|
||||||
|
|
||||||
$primary = ffb68c
|
$primary = ffb3ad
|
||||||
$secondary = e5bfaa
|
$secondary = e7bdb9
|
||||||
$tertiary = ccc992
|
$tertiary = e1c28c
|
||||||
$surface = 1a120d
|
$surface = 1a1110
|
||||||
$surface_bright = 413732
|
$surface_bright = 423736
|
||||||
$outline = 9f8d84
|
$outline = a08c8a
|
||||||
$error = ff5945
|
$error = ff5945
|
||||||
|
|
||||||
$shadow = 000000
|
$shadow = 000000
|
||||||
|
|
||||||
$red = ffb59b
|
$red = ffb4aa
|
||||||
$green = b7d085
|
$green = b7d085
|
||||||
$yellow = dec56e
|
$yellow = dec56e
|
||||||
$blue = cebdfe
|
$blue = cebdfe
|
||||||
$magenta = fcb0d5
|
$magenta = fcb0d5
|
||||||
$cyan = 84d5c4
|
$cyan = 84d5c4
|
||||||
$white = 82d3e0
|
$white = 82d3e0
|
||||||
$red_dim = ff6a35
|
$red_dim = ff5a44
|
||||||
$green_dim = 89ad42
|
$green_dim = 89ad42
|
||||||
$yellow_dim = bb9b2b
|
$yellow_dim = bb9b2b
|
||||||
$blue_dim = 8359fc
|
$blue_dim = 8359fc
|
||||||
|
|||||||
+1
-1
@@ -58,8 +58,8 @@ class BrightnessOSDContainer(Box):
|
|||||||
|
|
||||||
def update_brightness(self) -> None:
|
def update_brightness(self) -> None:
|
||||||
current_brightness = self.brightness_service.screen_brightness
|
current_brightness = self.brightness_service.screen_brightness
|
||||||
|
normalized_brightness = self._normalize_brightness(current_brightness)
|
||||||
if current_brightness != 0:
|
if current_brightness != 0:
|
||||||
normalized_brightness = self._normalize_brightness(current_brightness)
|
|
||||||
self.scale.animate_value(normalized_brightness)
|
self.scale.animate_value(normalized_brightness)
|
||||||
self.update_icon(normalized_brightness)
|
self.update_icon(normalized_brightness)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user