feat: add ability to toggle notification popup visibility via IPC
This commit is contained in:
parent
ca48eef612
commit
f8db6ba9df
3 changed files with 19 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue