From b52eb0ac5e8e2798354dce7db584fa30b437ad1d Mon Sep 17 00:00:00 2001 From: Gavin Nugent Date: Wed, 29 Apr 2026 18:30:25 +0100 Subject: [PATCH] README: warn that restore-from-backup overwrites later waybar tweaks --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2e08723..e4f46d4 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ ls -t style.css.bak.* | head -1 | xargs -I{} cp {} style.css omarchy-restart-waybar ``` +> **Note:** this restores the *most recent* backup, which is the snapshot taken just before the last install run. If you've made unrelated waybar tweaks **after** installing, this will overwrite them too. In that case, either pick an older `.bak.` that pre-dates your other changes, or revert the patch by hand: remove `format-time`, `tooltip-format-full`, `tooltip-format-plugged` and reset `tooltip-format-discharging`/`charging` to upstream in `config.jsonc`, and delete the `/* >>> battery-tooltip */ ... /* <<< battery-tooltip */` block from `style.css`. + ## Design notes See [`install-battery-tooltip.NOTES.md`](./install-battery-tooltip.NOTES.md) for the why-it-works-this-way: laptop detection layering, idempotency strategy, capacity-mode trade-off, the GTK-tooltip monospace-wrapper workaround, and known edge cases.