feat: add ability to toggle notification popup visibility via IPC

This commit is contained in:
JPratama7
2025-07-27 18:55:13 +07:00
parent ca48eef612
commit f8db6ba9df
3 changed files with 19 additions and 2 deletions
+7
View File
@@ -6,6 +6,7 @@ IpcHandler {
property var appLauncherPanel
property var lockScreen
property IdleInhibitor idleInhibitor
property var notificationPopup
target: "globalIPC"
@@ -13,6 +14,12 @@ IpcHandler {
idleInhibitor.toggle()
}
function toggleNotificationPopup(): void {
console.log("[IPC] NotificationPopup toggle() called")
notificationPopup.togglePopup();
}
// Toggle Applauncher visibility
function toggleLauncher(): void {
if (!appLauncherPanel) {