This commit is contained in:
tr1x_em committed 2025-08-03 17:55:21 +05:30
1 parent a8cf797c1c
commit 7017d38c8b
1 file changed
+4 -4
+4 -4
View File
@@ -506,7 +506,8 @@ class Weather(Box):
self.condition_em.set_label(emoji) self.condition_em.set_label(emoji)
self.parent.set_visible(True) self.parent.set_visible(True)
class WeatherContainer(Box):
class WeatherContainer(Box):
def __init__(self, **kwargs): def __init__(self, **kwargs):
super().__init__( super().__init__(
orientation="v", orientation="v",
@@ -516,12 +517,13 @@ class Weather(Box):
visible=False, visible=False,
h_align="center", h_align="center",
children=[ children=[
Weather(), Weather(self),
], ],
**kwargs, **kwargs,
) )
self.add(WeatherWidget()) self.add(WeatherWidget())
class Date(Box): class Date(Box):
def __init__(self, **kwargs): def __init__(self, **kwargs):
super().__init__( super().__init__(
@@ -545,8 +547,6 @@ class Date(Box):
self.add(self.datethree) self.add(self.datethree)
class Deskwidgets(Window): class Deskwidgets(Window):
def __init__(self, **kwargs): def __init__(self, **kwargs):
config = load_config() config = load_config()