summaryrefslogtreecommitdiff
path: root/modules/notifications/Notifications.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notifications/Notifications.qml')
-rw-r--r--modules/notifications/Notifications.qml74
1 files changed, 0 insertions, 74 deletions
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
- }
- }
- }
- }
- }
-}