Initial commit
This commit is contained in:
commit
a8c2f88654
53 changed files with 9269 additions and 0 deletions
21
Helpers/IPCHandlers.qml
Normal file
21
Helpers/IPCHandlers.qml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import Quickshell.Io
|
||||
|
||||
IpcHandler {
|
||||
property var appLauncherPanel
|
||||
|
||||
target: "globalIPC"
|
||||
|
||||
// Toggle Applauncher visibility
|
||||
function toggleLauncher(): void {
|
||||
if (!appLauncherPanel) {
|
||||
console.warn("AppLauncherIpcHandler: appLauncherPanel not set!");
|
||||
return;
|
||||
}
|
||||
if (appLauncherPanel.visible) {
|
||||
appLauncherPanel.hidePanel();
|
||||
} else {
|
||||
console.log("[IPC] Applauncher show() called");
|
||||
appLauncherPanel.showAt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue