Completed notification todo animations

This commit is contained in:
tr1x_em committed 2025-07-30 22:54:00 +05:30
1 parent 47d2d4a847
commit 63ee181839
3 files changed
+13 -13

No files matched your search

+10 -10
View File
@@ -8,20 +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.notification import ModusNoti
# 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__":
@@ -36,7 +36,7 @@ if __name__ == "__main__":
panel = Panel()
# corners = Corners()
dock = Dock()
envnoti = EnvNoti()
envnoti = ModusNoti()
switcher = ApplicationSwitcher()
launcher = Launcher()
panel.launcher = launcher
+2 -2
View File
@@ -60,7 +60,7 @@ class NotificationWidget(Box):
self._notification = notification
self.image = notification.app_icon
body_container = Box(spacing=4, orientation="h")
body_container = Box(name="noti-image", spacing=4, orientation="h")
# Load and show image (from app_icon, image_file, or pixbuf)
pixbuf = get_notification_image_pixbuf(notification)
@@ -172,7 +172,7 @@ class NotificationWidget(Box):
self.destroy()
class EnvNoti(Window):
class ModusNoti(Window):
def __init__(self, **kwargs):
super().__init__(
margin="8px 8px 8px 8px",
+1 -1
View File
@@ -43,7 +43,7 @@
}
#noti-image image{
border-radius: 16px;
border-radius: 25px;
}
#notification-action:hover {
background-color: #007aff; /* macOS-style blue */