summaryrefslogtreecommitdiff
path: root/modules/notifications/Notifications.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 18:23:11 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 18:23:11 +1000
commit8ea4362ba1e955dfd60a553484a00356eff5e06a (patch)
tree33cb8537a51d350a9c180e98df01d5b2c3f4af63 /modules/notifications/Notifications.qml
parentosd: fix show on hover + show on audio/brightness change (diff)
downloadcaelestia-shell-8ea4362ba1e955dfd60a553484a00356eff5e06a.tar.gz
caelestia-shell-8ea4362ba1e955dfd60a553484a00356eff5e06a.tar.bz2
caelestia-shell-8ea4362ba1e955dfd60a553484a00356eff5e06a.zip
notifs: move to drawers
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
- }
- }
- }
- }
- }
-}