From c8a6e603a57f7b8c0c6e04e855b193c5ff0a6209 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 1 Aug 2026 15:43:13 -0500 Subject: [PATCH] Expose the shell's remaining UI-only toggles over IPC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every toggle you could only reach by mouse or panel hotkey is now scriptable through omarchy-shell: - omarchy.bluetooth toggleBluetooth — the radio (was right-click / B) - omarchy.network toggleNetwork — Wi-Fi on/off (was W in the panel) - omarchy.tailscale toggleTailscale — the connection as one call, matching the widget's right-click, instead of separate up/down - omarchy.clock toggleWeekStart — calendar week start (was W) - shell toggleBarTransparency — the bar background (was manage UI only) Bluetooth and network follow the power/monitor pattern: manageIpc: false so the panel owns the target's single IpcHandler and can extend it past the inherited lifecycle methods. Co-Authored-By: Claude Fable 5 --- Panel.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/Panel.qml b/Panel.qml index 5c49570..34278ed 100644 --- a/Panel.qml +++ b/Panel.qml @@ -373,6 +373,7 @@ Panel { function refresh(): string { tailscale.refresh(); return "ok" } function up(): string { tailscale.loginOrUp(); return "ok" } function down(): string { tailscale.down(); return "ok" } + function toggleTailscale(): string { tailscale.toggleTailscale(); return "ok" } function status(): string { return tailscale.statusText } }