summaryrefslogtreecommitdiff
path: root/services/Notifs.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-23 18:10:32 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-23 18:10:32 +1000
commit21e1efd944f39c53c649348559550e18f6a9803b (patch)
tree1bc762bc2e4dd19cae41ae0bae696ed6cf1fa528 /services/Notifs.qml
parentaudio: audio device changed toasts (#684) (diff)
downloadcaelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.tar.gz
caelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.tar.bz2
caelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.zip
config: enable/disable specific toasts
Diffstat (limited to 'services/Notifs.qml')
-rw-r--r--services/Notifs.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml
index 2deba75..0012d4b 100644
--- a/services/Notifs.qml
+++ b/services/Notifs.qml
@@ -21,6 +21,9 @@ Singleton {
property bool loaded
onDndChanged: {
+ if (!Config.utilities.toasts.dndChanged)
+ return;
+
if (dnd)
Toaster.toast(qsTr("Do not disturb enabled"), qsTr("Popup notifications are now disabled"), "do_not_disturb_on");
else