homelab control center nur bei konfiguration: module-reihenfolge geändert, dotfiles räumen homelab-files bei fehlendem config weg
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user