mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* 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>
19 lines
438 B
Bash
Executable File
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
|