From e2f8313034425e2c213d903c9f57a268bbf360be Mon Sep 17 00:00:00 2001 From: Pepe44DEV Date: Fri, 29 May 2026 18:46:22 +0200 Subject: [PATCH] =?UTF-8?q?homelab=20control=20center=20nur=20bei=20konfig?= =?UTF-8?q?uration:=20module-reihenfolge=20ge=C3=A4ndert,=20dotfiles=20r?= =?UTF-8?q?=C3=A4umen=20homelab-files=20bei=20fehlendem=20config=20weg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- modules/core/ags.sh | 2 +- modules/core/dotfiles.sh | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 183810d..8b0ea0a 100755 --- a/install.sh +++ b/install.sh @@ -21,9 +21,9 @@ DEFAULT_MODULES=( "core/preflight" "core/packages" "core/ags" + "homelab/setup" "core/dotfiles" "core/services" - "homelab/setup" "optional/install" "post/apply-theme" "core/sddm" @@ -32,9 +32,9 @@ DEFAULT_MODULES=( FRESH_MODULES=( "core/packages" "core/ags" + "homelab/setup" "core/dotfiles" "core/services" - "homelab/setup" "optional/install" "post/apply-theme" "core/sddm" diff --git a/modules/core/ags.sh b/modules/core/ags.sh index e17bd8a..b3f8a2b 100644 --- a/modules/core/ags.sh +++ b/modules/core/ags.sh @@ -4,7 +4,7 @@ module_description() { printf "AGS (Aylur's Gtk Shell) - Widget system for Hyprland\n" } -module_required() { return 1; } +module_required() { return 0; } module_should_skip() { command -v ags >/dev/null 2>&1 } diff --git a/modules/core/dotfiles.sh b/modules/core/dotfiles.sh index e5ffe9a..af58d5c 100755 --- a/modules/core/dotfiles.sh +++ b/modules/core/dotfiles.sh @@ -60,6 +60,12 @@ print(' '.join(items)) copy_path "$source" "$target" done + if [[ ! -f "$HOME/.config/homelab/config.yaml" ]]; then + rm -f "$HOME/.config/hypr/Scripts/homelab-control.sh" + rm -f "$HOME/.config/hypr/ags/homelab.tsx" + rm -f "$HOME/.config/hypr/ags/homelab.css" + fi + if [[ -f "$dotfiles_dir/starship.toml" ]]; then copy_path "$dotfiles_dir/starship.toml" "$HOME/.config/starship.toml" fi