Files
arthur-os/bin/omarchy-update-confirm
d904ed3afe Add dynamic theming for gum (#4467)
* Add dynamic theming for gum.

* Add migration.

* Fix migration script.

* Add omarchy-theme-reset utility.

* Move env variables into seperate file and update migration script.

* Migration adds the new hyprland config file to the users hyprland.conf.

* Add gum.env.conf to default env.conf instead.

* Reuse new omarchy-theme-refresh and update migration.

* Ensure no errors are thrown if the file can't be loaded

* Just apply this on the next theme selection

So it's not disruptive

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
2026-05-03 20:26:03 +02:00

19 lines
438 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Prompt for confirmation before starting an update
gum style --border normal --padding "1 2" \
"Ready to update?" \
"" \
"• You cannot stop the update once you start!" \
"• Make sure you're connected to power or have a full battery" \
"" \
"What's new: https://github.com/basecamp/omarchy/releases"
echo
if ! gum confirm "Continue with update?"; then
echo "Update cancelled"
exit 1
fi