From bcdcb11cfa5924031bd159bc91fe0cdcb1850477 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 10 Oct 2026 15:59:39 +0200 Subject: [PATCH] Move the keyboard layout widget to the right side of existing bars Co-Authored-By: Claude Opus 5.5 --- manual/05-the-top-bar.md | 2 +- migrations/1791640449.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 migrations/1791640449.sh diff --git a/manual/05-the-top-bar.md b/manual/05-the-top-bar.md index 9f7b4e79..2c203ab4 100644 --- a/manual/05-the-top-bar.md +++ b/manual/05-the-top-bar.md @@ -6,7 +6,7 @@ It's also the one piece of the desktop that's always on screen, so it's worth kn ## What's on it by default -The bar has three sections. On the left sits the Omarchy logo (the menu launcher) and the workspace indicators. In the center you get the status indicators, the clock, the keyboard layout, the weather, and an Omarchy update badge. On the right: the system tray, agents, bluetooth, network, audio, display, and power. +The bar has three sections. On the left sits the Omarchy logo (the menu launcher) and the workspace indicators. In the center you get the status indicators, the clock, Elsewhen (a world clock), the weather, and an Omarchy update badge. On the right: the keyboard layout (when more than one is configured), the system tray, agents, bluetooth, network, audio, display, and power. A few of those only show up when they have something to say. The keyboard layout appears only if you've configured more than one layout. The update badge appears only when there's an Omarchy update waiting. And the agents icon appears the first time Omarchy finds AI coding usage on the machine (see [AI](17-ai.md)). diff --git a/migrations/1791640449.sh b/migrations/1791640449.sh new file mode 100644 index 00000000..59250257 --- /dev/null +++ b/migrations/1791640449.sh @@ -0,0 +1,5 @@ +echo "Move the keyboard layout widget to the right side of the bar" + +# An earlier migration put the widget just right of the clock. It now leads the +# right-hand cluster. A widget the user moved out of the center stays put. +omarchy-bar move omarchy.keyboard-layout --from-section center --section right --index 0 || true