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

+21 -13
View File
@@ -81,33 +81,44 @@ menu > menuitem:hover > label {
#box-widget-2{
/* background-color: alpha(#1C1C1C, 1); */
background: linear-gradient(to bottom, #202020, #141414);
min-width: 170px;
min-height: 170px;
border-radius: 16px;
}
#weather-widget label{ #weather-widget label{
font-family: "SF Pro Rounded"; font-family: "SF Pro Rounded";
/* font-size: 20px; */ /* font-size: 20px; */
font-weight: 600; margin-left: 12px;
margin-left: 10px;
} }
#city { #city {
margin-top: 10px; margin-top: 10px;
color: #68A7B5;
font-weight: 600;
font-size: 20px; font-size: 20px;
} }
#temperature { #temperature {
font-size: 50px; font-size: 50px;
font-weight: 400;
} }
#condition-emoji{ #condition-emoji{
margin-top: 10px; margin-top: 5px;
font-size: 16px; font-size: 16px;
} }
#condition { #condition {
font-size: 15px; font-size: 15px;
font-weight: 600;
} }
#feels-like { #feels-like {
font-weight: 600;
font-size: 15px; font-size: 15px;
} }
/* # */ /* # */
@@ -138,29 +149,26 @@ menu > menuitem:hover > label {
padding: 5px; padding: 5px;
margin-top: 10px; margin-top: 10px;
font-size: 30px; font-size: 30px;
color: alpha(#fff, 0.7); color: alpha(#fff, 0.9);
font-weight: 600; font-weight: 600;
} }
#date label{ #date label{
color: alpha(#fff, 0.7); color: alpha(#fff, 0.9);
margin-top: -10px; margin-top: -10px;
font-size: 90px; font-size: 90px;
font-weight: 600; font-weight: 600;
} }
#day label{ #day label{
color: alpha(#FF0000, 0.7);
color: alpha(#72BBCC, 0.9);
} }
#box-widget{ #box-widget{
background-color: alpha(#232323, 1); /* background-color: alpha(#232323, 1); */
background: linear-gradient(to bottom, #202020, #141414);
margin: 20px 20px 20px 20px; margin: 20px 20px 20px 20px;
min-width: 170px; min-width: 170px;
min-height: 170px; min-height: 170px;
border-radius: 16px; border-radius: 16px;
} }
#box-widget-2{
background-color: alpha(#425D8A, 1);
min-width: 170px;
min-height: 170px;
border-radius: 16px;
}
+33 -1
View File
@@ -449,6 +449,37 @@ class Date(Box):
self.add(self.datethree) 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): class Deskwidgets(Window):
config = load_config() config = load_config()
@@ -475,9 +506,10 @@ class Deskwidgets(Window):
bottom_left = Window( bottom_left = Window(
anchor="bottom left", anchor="bottom left",
name="box-widget",
orientation="h", orientation="h",
layer="bottom", layer="bottom",
child=Box(), child=raminfo(),
) )
container = Box( container = Box(