Setup real first-run install

This commit is contained in:
David Heinemeier Hansson
2025-08-25 07:37:46 +02:00
parent e565768bed
commit f98899e4e2
3 changed files with 14 additions and 1 deletions

12
bin/omarchy-cmd-first-run Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -e
FIRST_RUN_MODE=~/.local/state/omarchy/first-run.mode
if [[ -f FIRST_RUN_MODE ]]; then
$OMARCHY_PATH/install/first-run/battery-monitor.sh
$OMARCHY_PATH/install/first-run/firewall.sh
rm FIRST_RUN_MODE
sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null
fi