From 83aa9aeb8636111bbb416ed9aba76ef77a676ca8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 19 Feb 2026 15:48:01 +0100 Subject: [PATCH] Ask before we close chromium and swap to mainline --- migrations/1769510847.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/migrations/1769510847.sh b/migrations/1769510847.sh index 381d396d..d9c5b260 100644 --- a/migrations/1769510847.sh +++ b/migrations/1769510847.sh @@ -1,6 +1,10 @@ echo "Switch back to mainline chromium now that it supports full live themeing" -echo "Note: This required resetting cookies and settings!" -omarchy-pkg-drop omarchy-chromium -omarchy-pkg-add chromium -omarchy-theme-set-browser +if omarchy-pkg-present omarchy-chromium; then + if gum confirm "Ready to switch to mainstream chromium? (Will close Chromium + reset settings)"; then + pkill -x chromium + omarchy-pkg-drop omarchy-chromium + omarchy-pkg-add chromium + omarchy-theme-set-browser + fi +fi