/ de-omarchy / bin / omarchy-update-confirm
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
19 lines · 445 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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/latest"

echo

if ! gum confirm "Continue with update?"; then
  echo "Update cancelled"
  exit 1
fi