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

+30
View File
@@ -0,0 +1,30 @@
import sys
import os
# from hyprpy import Hyprland
from fabric.audio import Audio
from fabric.notifications import Notifications
from services.modus import ModusService
from loguru import logger
global modus_service
try:
modus_service = ModusService()
except Exception as e:
logger.error("[Main] Failed to create ModusService:", e)
sys.exit(1)
# global notification_service
# try:
# notification_service = Notifications()
# except Exception as e:
# logger.error("[Main] Failed to create NotificationService:", e)
# sys.exit(1)
global audio_service
try:
audio_service = Audio()
except Exception as e:
logger.error("[Main] Failed to create AudioService:", e)
sys.exit(1)