From 4421f20e825bb62bb24c377789eb80cd386fcede Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 22 Jul 2025 17:49:08 -0400 Subject: [PATCH] Reduce first run to just showing the manual for now --- bin/omarchy-first-run | 2 +- bin/omarchy-first-run-flow | 42 -------------------------------------- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100755 bin/omarchy-first-run-flow diff --git a/bin/omarchy-first-run b/bin/omarchy-first-run index 614daa8..a716eb0 100755 --- a/bin/omarchy-first-run +++ b/bin/omarchy-first-run @@ -3,5 +3,5 @@ if [[ ! -f ~/.local/state/omarchy/after-first-run.mode ]]; then mkdir -p ~/.local/state/omarchy touch ~/.local/state/omarchy/after-first-run.mode - uwsm app -- alacritty --class=Omarchy --title=Omarchy -e ~/.local/share/omarchy/bin/omarchy-first-run-flow + uwsm app -- gtk-launch "Omarchy Manual" & fi diff --git a/bin/omarchy-first-run-flow b/bin/omarchy-first-run-flow deleted file mode 100755 index 2abc703..0000000 --- a/bin/omarchy-first-run-flow +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -source ~/.local/share/omarchy/ansi.sh - -if gum confirm "Install editor in addition to Neovim?"; then - options=("VSCode" "Cursor" "Zed" "Helix" "Nevermind") - choice=$(printf "%s\n" "${options[@]}" | gum choose --header "Add programming editor") || exit 0 - - case "$choice" in - VSCode) yay -Sy --noconfirm --needed vscodium-electron-bin ;; - Cursor) yay -Sy --noconfirm --needed cursor-bin ;; - Zed) yay -Sy --noconfirm --needed zed ;; - Helix) yay -Sy --noconfirm --needed helix ;; - Nevermind) ;; - esac -fi - -source ~/.local/share/omarchy/ansi.sh - -if gum confirm "Start Docker DBs?"; then - options=("MySQL" "Redis" "PostgreSQL") - choices=$(printf "%s\n" "${options[@]}" | gum choose --no-limit --header "Select databases (space to select, return to install)") || exit 0 - - if [[ -n "$choices" ]]; then - for db in $choices; do - case $db in - MySQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8.4 ;; - Redis) sudo docker run -d --restart unless-stopped -p "127.0.0.1:6379:6379" --name=redis redis:7 ;; - PostgreSQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:5432:5432" --name=postgres16 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:16 ;; - esac - done - fi -fi - -source ~/.local/share/omarchy/ansi.sh - -echo "Updating all system packages..." -yay -Syu --noconfirm - -setsid gtk-launch "Omarchy Manual" >/dev/null 2>&1 & -gum spin --spinner "globe" --title "You're all set!" -- sleep 2 -clear