homelab control center nur bei konfiguration: module-reihenfolge geändert, dotfiles räumen homelab-files bei fehlendem config weg

This commit is contained in:
2026-05-29 18:46:22 +02:00
parent de88e5b603
commit e2f8313034
3 changed files with 9 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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