Matugen Based Colours

This commit is contained in:
tr1x_em committed 2025-08-03 19:07:08 +05:30
1 parent 597abdfd59
commit 9c5c17c097
2 files changed
+54 -14

No files matched your search

+33 -1
View File
@@ -449,6 +449,37 @@ class Date(Box):
self.add(self.datethree)
class raminfo(Box):
@staticmethod
def bake_progress_bar(name: str = "progress-bar", size: int = 45, **kwargs):
return CircularProgressBar(
name=name,
start_angle=180,
end_angle=540,
min_value=0,
max_value=100,
size=size,
**kwargs,
)
@staticmethod
def bake_progress_icon(**kwargs):
return Label(**kwargs).build().add_style_class("progress-icon").unwrap()
def __init__(self, **kwargs):
super().__init__(
layer="bottom",
title="sysinfo",
name="sysinfo",
visible=False,
all_visible=False,
**kwargs,
)
# FIX: GTK ERRORS
class Deskwidgets(Window):
config = load_config()
@@ -475,9 +506,10 @@ class Deskwidgets(Window):
bottom_left = Window(
anchor="bottom left",
name="box-widget",
orientation="h",
layer="bottom",
child=Box(),
child=raminfo(),
)
container = Box(