diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-13 09:54:18 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-13 09:54:18 +0200 |
| commit | c635798c7e782af84ba1cf592e93619376a93d8a (patch) | |
| tree | 82d3e30426a1ce199fc9566de3c01f11947de85c /desktop/shell.qml | |
| parent | 934fdbeb44ff96d86840e20f5d69497556539aa9 (diff) | |
| download | quickshell-c635798c7e782af84ba1cf592e93619376a93d8a.tar.gz quickshell-c635798c7e782af84ba1cf592e93619376a93d8a.zip | |
feat(island): controls panel in the status pill, island IPC
A settings icon in the status pill opens the controls panel in the same
capsule the sound panel uses. Right-click on a tile closes the panel and
opens its drawer page. The island IPC target reveals the island and
toggles the panel, for the SUPER release bind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/shell.qml')
| -rw-r--r-- | desktop/shell.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/shell.qml b/desktop/shell.qml index eac0ddd..d70b338 100644 --- a/desktop/shell.qml +++ b/desktop/shell.qml @@ -67,6 +67,7 @@ ShellRoot { // The island on DP-1. It reads the sound module's service rather than // binding PipeWire a second time. Island { + id: island sound: soundModule.service drawer: drawer } @@ -85,4 +86,11 @@ ShellRoot { function toggle() { drawer.toggle(""); } function close() { drawer.close(); } } + + // The bare SUPER release bind reaches this: + // qs -p <this dir> ipc call island controls + IpcHandler { + target: "island" + function controls() { island.toggleControls(); } + } } |
