mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-29 17:12:04 +00:00
Merge pull request #681 from 3akev/main
add IPC calls to enable/disable Do Not Disturb
This commit is contained in:
@@ -57,6 +57,12 @@ Item {
|
||||
function toggleDND() {
|
||||
Settings.data.notifications.doNotDisturb = !Settings.data.notifications.doNotDisturb
|
||||
}
|
||||
function enableDND() {
|
||||
Settings.data.notifications.doNotDisturb = true
|
||||
}
|
||||
function disableDND() {
|
||||
Settings.data.notifications.doNotDisturb = false
|
||||
}
|
||||
function clear() {
|
||||
NotificationService.clearHistory()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user