Lay the Control Center out as a resizable, editable grid
Modules are tiles on a 4-column grid, each 1x1 to 4x4 and adapting its layout to its size. Edit Controls in the panel reorders by dragging, resizes from a corner handle, removes with a badge and adds from a tray. Connectivity splits into Wi-Fi, Bluetooth and Network tiles and Audio into Sound and Microphone; right-clicking Sound extends it with output devices and a volume slider per app. Adds a Caffeine tile. Config version 2 migrates existing layouts in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0dcf37346c
commit
11bdc4c751
32 files changed
+2147
-355
No files matched your search
@@ -114,6 +114,15 @@ failures do not cause restart loops. Song artwork never changes the global accen
|
||||
## Phase 7 system controls
|
||||
|
||||
`ControlCenter` is an active-monitor overlay with a registry-driven module layout.
|
||||
Modules are `CCModule` tiles on a 4-column grid (`controlcenter/GridLogic.js` packs
|
||||
them first-fit in configured order); each has a default size in `ControlRegistry`
|
||||
and an optional per-module `w`/`h` (1–4) in `controlCenter.modules`, set from the
|
||||
panel's edit mode. Tiles adapt their layout to their size. A tile can extend below
|
||||
its cells (`extraHeight`: the Sound mixer, power confirmation) and the grid moves
|
||||
the tiles underneath down. Config version 2 split the old Connectivity and Audio
|
||||
cards into Wi-Fi/Bluetooth/Network and Output/Input. `CaffeineService` holds a
|
||||
`systemd-inhibit` idle/sleep lock while on; `AudioService.streams` lists app
|
||||
playback streams, tracked only while a mixer holds a `Demand`.
|
||||
`ShellState` coordinates its visibility with existing shell popups. `AudioService`,
|
||||
`NetworkService` and `BluetoothService` adapt native Quickshell event-driven models.
|
||||
`SystemService` serializes one-shot JSON provider jobs for visible display/DND/power
|
||||
|
||||
Reference in new issue
Block a user