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
No known key found for this signature in database
GPG key ID: CD3EB7D0490C5F4B
3 changed files with 19 additions and 2 deletions

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) {