diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-23 14:20:14 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-23 14:20:14 +1000 |
| commit | a6deec963cadc47852282285116615f62619d87f (patch) | |
| tree | f120eb6ebf747acef40567ebecffb0e8d03dcc2f /services/Notifs.qml | |
| parent | notifs: wrap time to days (diff) | |
| download | caelestia-shell-a6deec963cadc47852282285116615f62619d87f.tar.gz caelestia-shell-a6deec963cadc47852282285116615f62619d87f.tar.bz2 caelestia-shell-a6deec963cadc47852282285116615f62619d87f.zip | |
internal: add toasts for gamemode & dnd
Diffstat (limited to 'services/Notifs.qml')
| -rw-r--r-- | services/Notifs.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index 4dbabf4..2deba75 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -20,6 +20,13 @@ Singleton { property bool loaded + onDndChanged: { + if (dnd) + Toaster.toast(qsTr("Do not disturb enabled"), qsTr("Popup notifications are now disabled"), "do_not_disturb_on"); + else + Toaster.toast(qsTr("Do not disturb disabled"), qsTr("Popup notifications are now enabled"), "do_not_disturb_off"); + } + onListChanged: { if (loaded) saveTimer.restart(); |