1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Aaron Tulino
10e81cfdd3 Clear lock screen textbox on Escape key press (#1139) 2025-12-24 09:47:55 -05:00
Aaron Tulino
03fd3a4f16 Add Do Not Disturb to IPC (#1140) 2025-12-24 09:47:44 -05:00
2 changed files with 8 additions and 0 deletions

View File

@@ -112,6 +112,10 @@ DankModal {
return "NOTIFICATION_MODAL_TOGGLE_DND_SUCCESS";
}
function getDoNotDisturb(): bool {
return SessionData.doNotDisturb;
}
function clearAll(): string {
notificationModal.clearAll();
return "NOTIFICATION_MODAL_CLEAR_ALL_SUCCESS";

View File

@@ -470,6 +470,10 @@ Item {
return;
}
if (event.key === Qt.Key_Escape) {
clear();
}
if (pam.passwd.active) {
console.log("PAM is active, ignoring input");
event.accepted = true;