From e22d2ccee82b829875fe343cf1be48975174b054 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 15 Oct 2026 11:24:49 +0200 Subject: refactor(island): the controls panel goes Each of its seven tiles opened a drawer page that already existed, and it went unused. SUPER alone will open the drawer instead. Removed with it: the status pill's controls icon, Island.toggleControls, the island IPC target, Controls.js and its test, and the controls list in Prefs. Prefs now holds only the pinned IP; a controls key left in desktop.json is still kept on write, because writes merge into the parsed document. Co-Authored-By: Claude Opus 5.5 --- desktop/island/README.md | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'desktop/island/README.md') diff --git a/desktop/island/README.md b/desktop/island/README.md index c4cf35f..4ad1050 100644 --- a/desktop/island/README.md +++ b/desktop/island/README.md @@ -46,12 +46,10 @@ is open or not. Click opens the calendar panel. ## Status pill -Left to right: performance icon, controls icon, volume icon, tray, layout -flag. +Left to right: performance icon, volume icon, tray, layout flag. - **Performance icon** opens the performance panel, see below. A dot on its corner warns when something needs attention. -- **Controls icon** opens the controls panel, see below. - **Volume icon** shows the default sink (muted, low, medium, high). Click opens the sound panel. - **Tray** shows `SystemTray` items. Left click activates, right click opens @@ -62,27 +60,13 @@ flag. `activelayout` event. Scroll switches layout with `hyprctl switchxkblayout current next|prev`. -## Controls panel - -Opened by the status pill's controls icon, or by SUPER pressed and released -alone (`qs -p desktop ipc call island controls`, a Hyprland release bind; -any key or mouse bind pressed in between cancels it). Seven tiles: wifi, -bluetooth, DND, presentation, auto-lock, output, mic. - -- Click toggles. Right-click closes the panel and opens the tile's drawer - page. -- Output and mic fill to their volume, clamped at 100%; muted greys the bar - instead of emptying it. Scroll steps 5%, output capped at 150%. -- A tile whose backing object has not arrived (the first two seconds, no - adapter, no sink) is dimmed and ignores input. -- The pencil enters edit mode: drag a tile to another slot, × hides it, the - strip below lists hidden tiles with a + each. Closing the panel ends it. - -The visible tiles and their order live in -`$XDG_STATE_HOME/quickshell/desktop.json` (`../Prefs.qml`), written only when -they change and keeping keys it does not know. A tile added to the code -later starts hidden. Pure helpers in `Controls.js`, tested with -`node island/test_controls.js`. +## Controls panel (removed) + +There was one, opened by SUPER alone. Each of its seven tiles opened a drawer +page that already existed and it went unused, so it was removed and SUPER +alone opens the drawer instead. `Prefs.qml` keeps only the pinned IP; a +`controls` key left in `desktop.json` by the old panel is kept on write and +otherwise ignored. ## Performance panel -- cgit v1.2.3