aboutsummaryrefslogtreecommitdiff
path: root/quickshell/NotificationOverlay.qml
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-19 12:22:20 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-19 12:22:20 +0530
commit0a5559b9d188796022d0c0f4e0601fb491e26bc5 (patch)
tree077f3d7bf112cd39396b06d06c06fcdcc8950a39 /quickshell/NotificationOverlay.qml
parent4706f2c86a9aa45876facae5358ca38a3026fef3 (diff)
implemented a simple dnd system
which doubles as a privacy filter for screen recordings
Diffstat (limited to 'quickshell/NotificationOverlay.qml')
-rw-r--r--quickshell/NotificationOverlay.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/quickshell/NotificationOverlay.qml b/quickshell/NotificationOverlay.qml
index 3a0dfed..d54f8f6 100644
--- a/quickshell/NotificationOverlay.qml
+++ b/quickshell/NotificationOverlay.qml
@@ -28,7 +28,7 @@ PanelWindow {
id: server
bodySupported: true
- imageSupported: true
+ imageSupported: false
actionsSupported: true
onNotification: notification => {
@@ -70,7 +70,7 @@ PanelWindow {
}
}
- Component.onCompleted: opacity = 0.8
+ Component.onCompleted: opacity = shellRoot.dnd ? 0 : 0.8
Timer {
interval: 2000