From 8ea4362ba1e955dfd60a553484a00356eff5e06a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 13 May 2025 18:23:11 +1000 Subject: notifs: move to drawers --- modules/notifications/Notifications.qml | 74 --------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 modules/notifications/Notifications.qml (limited to 'modules/notifications/Notifications.qml') diff --git a/modules/notifications/Notifications.qml b/modules/notifications/Notifications.qml deleted file mode 100644 index 52f2a7f..0000000 --- a/modules/notifications/Notifications.qml +++ /dev/null @@ -1,74 +0,0 @@ -import "root:/widgets" -import "root:/services" -import "root:/config" -import Quickshell -import Quickshell.Wayland -import QtQuick - -Variants { - model: Quickshell.screens - - Scope { - id: root - - required property ShellScreen modelData - property bool osdVisible: Notifs.popups.length > 0 - - LazyLoader { - loading: true - - StyledWindow { - id: win - - screen: root.modelData - name: "notifications" - visible: wrapper.shouldBeVisible - exclusionMode: ExclusionMode.Normal - - mask: Region { - item: wrapper - } - - anchors.top: true - anchors.bottom: true - anchors.left: true - anchors.right: true - - width: wrapper.width - height: wrapper.height - - Background { - id: bg - - visible: false - - anchors.top: parent.top - anchors.right: parent.right - - wrapperWidth: wrapper.width - wrapperHeight: Math.min(wrapper.height, content.height) - } - - LayerShadow { - source: bg - } - - Wrapper { - id: wrapper - - anchors.top: parent.top - anchors.right: parent.right - - implicitWidth: content.width + bg.rounding - - osdVisible: root.osdVisible - contentHeight: content.height - - Content { - id: content - } - } - } - } - } -} -- cgit v1.2.3-freya