Initial notification

This commit is contained in:
tr1x_em committed 2025-07-30 22:13:14 +05:30
1 parent c096fa1fc0
commit bececc35da
7 files changed
+348 -10

No files matched your search

+12 -10
View File
@@ -8,19 +8,20 @@ from modules.dock import Dock
from modules.launcher.main import Launcher
from modules.osd import OSD
from modules.about import About
from modules.notification import EnvNoti
# from modules.corners import Corners
from modules.panel.main import Panel
from modules.switcher import ApplicationSwitcher
for log in [
"fabric.hyprland.widgets",
"fabric.audio.service",
"fabric.bluetooth.service",
"services.network",
"utils.wayland",
]:
logger.disable(log)
# for log in [
# "fabric.hyprland.widgets",
# "fabric.audio.service",
# "fabric.bluetooth.service",
# "services.network",
# "utils.wayland",
# ]:
# logger.disable(log)
if __name__ == "__main__":
@@ -29,12 +30,13 @@ if __name__ == "__main__":
# Load configuration
from config.data import load_config
About().toggle(None)
# About().toggle(None)
config = load_config()
panel = Panel()
# corners = Corners()
dock = Dock()
envnoti = EnvNoti()
switcher = ApplicationSwitcher()
launcher = Launcher()
panel.launcher = launcher
@@ -49,7 +51,7 @@ if __name__ == "__main__":
_ = css_file.connect("changed", lambda *_: set_css())
# Make sure corners is added to the app
app = Application(f"{APP_NAME}", panel, dock, switcher, launcher, osd)
app = Application(f"{APP_NAME}", panel, dock, switcher, launcher, envnoti, osd)
def set_css():
app.set_stylesheet_from_file(