summaryrefslogtreecommitdiff
path: root/src/modules/notifpopups.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-11 15:55:32 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-11 15:55:32 +1100
commit877c254740e8d1ee7e1e04adad90631b617f1ead (patch)
tree2c75011f48384b6301ef16d225636ee90b6a16c5 /src/modules/notifpopups.tsx
parentlauncher: fix actions not clearing in math mode (diff)
downloadcaelestia-shell-877c254740e8d1ee7e1e04adad90631b617f1ead.tar.gz
caelestia-shell-877c254740e8d1ee7e1e04adad90631b617f1ead.tar.bz2
caelestia-shell-877c254740e8d1ee7e1e04adad90631b617f1ead.zip
notifs: make dnd actually work
Also change bar icon and hide count when dnd
Diffstat (limited to 'src/modules/notifpopups.tsx')
-rw-r--r--src/modules/notifpopups.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/notifpopups.tsx b/src/modules/notifpopups.tsx
index 0332fa7..d3cbb90 100644
--- a/src/modules/notifpopups.tsx
+++ b/src/modules/notifpopups.tsx
@@ -19,7 +19,7 @@ export default () => (
let notifsOpen = false;
self.hook(notifd, "notified", (self, id) => {
- if (notifsOpen) return;
+ if (notifsOpen || notifd.dontDisturb) return;
const notification = notifd.get_notification(id);