diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 17:31:04 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 17:31:04 +1000 |
| commit | 6b64c8a91804058fea99ed6944753758ee92c543 (patch) | |
| tree | 9bf1d152c1f7e2135515e8302c93821d3e29b184 /modules/notifications/Notifications.qml | |
| parent | launcher: better style (diff) | |
| download | caelestia-shell-6b64c8a91804058fea99ed6944753758ee92c543.tar.gz caelestia-shell-6b64c8a91804058fea99ed6944753758ee92c543.tar.bz2 caelestia-shell-6b64c8a91804058fea99ed6944753758ee92c543.zip | |
feat: basic notifications
Also fix pixel issue with notif area background
Add more log rules to run script
Diffstat (limited to 'modules/notifications/Notifications.qml')
| -rw-r--r-- | modules/notifications/Notifications.qml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/notifications/Notifications.qml b/modules/notifications/Notifications.qml index 2c73802..fa01d33 100644 --- a/modules/notifications/Notifications.qml +++ b/modules/notifications/Notifications.qml @@ -12,14 +12,7 @@ Variants { id: root required property ShellScreen modelData - property bool osdVisible - - Timer { - // running: true - repeat: true - interval: 2000 - onTriggered: root.osdVisible = !root.osdVisible - } + property bool osdVisible: Notifs.list.length > 0 LazyLoader { loading: true @@ -38,7 +31,9 @@ Variants { anchors.top: true anchors.bottom: true + anchors.left: true anchors.right: true + width: wrapper.width height: wrapper.height |