From e1043596594e237ffebeb7cc857f35044421020b Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 26 Feb 2026 06:41:50 +0545 Subject: [PATCH] feat(root): Enable Deskwidgets widget The Deskwidgets module is now imported, instantiated, and integrated into the main application, expanding desktop widget capabilities. New Features - Added Deskwidgets import and instantiation. - Integrated Deskwidgets into the Application instance. Enhancements - Removed stale comments and activated the component. Bug Fixes - None --- main.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index b92672b..147084a 100644 --- a/main.py +++ b/main.py @@ -2,13 +2,11 @@ from fabric import Application from fabric.utils import get_relative_path, logger, monitor_file from config.data import APP_NAME +from modules.desktop.widget import Deskwidgets from modules.notification.notification import ModusNoti from modules.panel.main import Panel from utils.functions import set_process_name -# from modules.desktop.widget import Deskwidgets - - for log in [ "fabric.hyprland.widgets", "fabric.audio.service", @@ -29,18 +27,17 @@ if __name__ == "__main__": panel = Panel() modusnoti = ModusNoti() - # deskwidget = Deskwidgets() + deskwidget = Deskwidgets() # Monitor CSS files for changes css_file = monitor_file(get_relative_path("styles")) _ = css_file.connect("changed", lambda *_: set_css()) - # Make sure corners is added to the app app = Application( f"{APP_NAME}", panel, modusnoti, - # deskwidget, + deskwidget, ) def set_css():