This commit is contained in:
sankalp committed 2025-02-17 21:27:48 +05:45
1 parent 32291d0625
commit 1cc6e7f375
1 file changed
+6
+6
View File
@@ -12,6 +12,7 @@ from modules.launcher.components import (
Sh, Sh,
TodoManager, TodoManager,
WallpaperSelector, WallpaperSelector,
WifiManager,
) )
@@ -33,6 +34,7 @@ class Launcher(Window):
self.todo = TodoManager() self.todo = TodoManager()
self.bluetooth = BluetoothConnections() self.bluetooth = BluetoothConnections()
self.sh = Sh(launcher=self) self.sh = Sh(launcher=self)
self.wifi = WifiManager()
self.stack = Stack( self.stack = Stack(
name="launcher-content", name="launcher-content",
@@ -49,6 +51,7 @@ class Launcher(Window):
self.todo, self.todo,
self.bluetooth, self.bluetooth,
self.sh, self.sh,
self.wifi,
], ],
) )
@@ -77,6 +80,7 @@ class Launcher(Window):
self.todo, self.todo,
self.bluetooth, self.bluetooth,
self.sh, self.sh,
self.wifi,
]: ]:
if widget == self.wallpapers: if widget == self.wallpapers:
self.wallpapers.viewport.hide() self.wallpapers.viewport.hide()
@@ -94,6 +98,7 @@ class Launcher(Window):
"todo", "todo",
"bluetooth", "bluetooth",
"sh", "sh",
"wifi",
]: ]:
self.stack.remove_style_class(style) self.stack.remove_style_class(style)
@@ -112,6 +117,7 @@ class Launcher(Window):
"todo": self.todo, "todo": self.todo,
"bluetooth": self.bluetooth, "bluetooth": self.bluetooth,
"sh": self.sh, "sh": self.sh,
"wifi": self.wifi,
} }
for w in widgets.values(): for w in widgets.values():