mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat: Implement automatic IPC registration for CustomButton widgets
- Add automatic registration/unregistration of CustomButton instances to CustomButtonIPCService - Enable CustomButton widgets to register themselves with unique identifiers - Support external control via IPC commands using 'qs -c noctalia-loner ipc call cb <action> "[identifier]"' format Supported actions: left, right, middle, up (separate wheel mode), down (separate wheel mode),wheel (unified wheel mode), refresh (textCommand)
This commit is contained in:
@@ -133,6 +133,11 @@ ShellRoot {
|
||||
screenDetector: screenDetector
|
||||
}
|
||||
|
||||
// CustomButtonIPCService handles IPC commands for custom buttons
|
||||
CustomButtonIPCService {
|
||||
id: customButtonIPCService
|
||||
}
|
||||
|
||||
// Container for plugins Main.qml instances (must be in graphics scene)
|
||||
Item {
|
||||
id: pluginContainer
|
||||
|
||||
Reference in New Issue
Block a user