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/preflight"
|
||||||
"core/packages"
|
"core/packages"
|
||||||
"core/ags"
|
"core/ags"
|
||||||
|
"homelab/setup"
|
||||||
"core/dotfiles"
|
"core/dotfiles"
|
||||||
"core/services"
|
"core/services"
|
||||||
"homelab/setup"
|
|
||||||
"optional/install"
|
"optional/install"
|
||||||
"post/apply-theme"
|
"post/apply-theme"
|
||||||
"core/sddm"
|
"core/sddm"
|
||||||
@@ -32,9 +32,9 @@ DEFAULT_MODULES=(
|
|||||||
FRESH_MODULES=(
|
FRESH_MODULES=(
|
||||||
"core/packages"
|
"core/packages"
|
||||||
"core/ags"
|
"core/ags"
|
||||||
|
"homelab/setup"
|
||||||
"core/dotfiles"
|
"core/dotfiles"
|
||||||
"core/services"
|
"core/services"
|
||||||
"homelab/setup"
|
|
||||||
"optional/install"
|
"optional/install"
|
||||||
"post/apply-theme"
|
"post/apply-theme"
|
||||||
"core/sddm"
|
"core/sddm"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ module_description() {
|
|||||||
printf "AGS (Aylur's Gtk Shell) - Widget system for Hyprland\n"
|
printf "AGS (Aylur's Gtk Shell) - Widget system for Hyprland\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
module_required() { return 1; }
|
module_required() { return 0; }
|
||||||
module_should_skip() {
|
module_should_skip() {
|
||||||
command -v ags >/dev/null 2>&1
|
command -v ags >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,12 @@ print(' '.join(items))
|
|||||||
copy_path "$source" "$target"
|
copy_path "$source" "$target"
|
||||||
done
|
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
|
if [[ -f "$dotfiles_dir/starship.toml" ]]; then
|
||||||
copy_path "$dotfiles_dir/starship.toml" "$HOME/.config/starship.toml"
|
copy_path "$dotfiles_dir/starship.toml" "$HOME/.config/starship.toml"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user