- Modular installer with gum-based TUI - Fresh-install detection with auto GPU driver selection - Preflight module for system detection (Intel/AMD/NVIDIA) - Core modules: packages, dotfiles, services, SDDM - Optional software installer (Obsidian, Neovim, VS Code, etc.) - Homelab config module with dynamic AGS integration - Two complete themes: Forest Neon and Rose Night - 19 Hyprland control scripts + 4 AGS widgets - Idempotent dotfile deployment with automatic backup - YAML-based configuration, extensible module system - Full logging to ~/.local/share/omeron/
29 lines
672 B
Bash
Executable File
29 lines
672 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
HYPR_DIR="$(cd -- "$SCRIPT_DIR/.." && pwd)"
|
|
HOMELAB_CONFIG="${HOMELAB_CONFIG:-$HOME/.config/homelab/config.yaml}"
|
|
|
|
notify() {
|
|
notify-send "Homelab" "$1" >/dev/null 2>&1 || true
|
|
}
|
|
|
|
if ! command -v ags >/dev/null 2>&1; then
|
|
notify "ags ist nicht installiert."
|
|
exit 1
|
|
fi
|
|
|
|
if ! command -v sshpass >/dev/null 2>&1; then
|
|
notify "sshpass ist nicht installiert."
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -f "$HOMELAB_CONFIG" ]]; then
|
|
export HOMELAB_CONFIG
|
|
fi
|
|
|
|
cd "$HYPR_DIR"
|
|
ags quit --instance homelab-control >/dev/null 2>&1 || true
|
|
exec ags run "$HYPR_DIR/ags/homelab.tsx"
|