From 84fb567ff50b0373ff43f6d66adb1c1e20884119 Mon Sep 17 00:00:00 2001 From: xxyangyoulin Date: Sun, 28 Dec 2025 13:34:52 +0800 Subject: [PATCH] Notification: Right-click to toggle Do Not Disturb (#1174) --- .../Modules/DankBar/Widgets/NotificationCenterButton.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickshell/Modules/DankBar/Widgets/NotificationCenterButton.qml b/quickshell/Modules/DankBar/Widgets/NotificationCenterButton.qml index 174cdfe4..007a49c2 100644 --- a/quickshell/Modules/DankBar/Widgets/NotificationCenterButton.qml +++ b/quickshell/Modules/DankBar/Widgets/NotificationCenterButton.qml @@ -33,4 +33,8 @@ BasePill { } } } + + onRightClicked: { + SessionData.setDoNotDisturb(!SessionData.doNotDisturb) + } }