Make install.sh call gen-colours

This commit is contained in:
2026-03-10 11:07:31 +00:00
parent dc96e01021
commit 79886b4e55

View File

@@ -141,12 +141,17 @@ fi
targets=()
for arg in "$@"; do
case "$arg" in
-h|--help) usage; exit 0 ;;
-h | --help)
usage
exit 0
;;
all) targets+=(hyprland cursor shell alacritty tmux nvim vim) ;;
*) targets+=("$arg") ;;
esac
done
"$SCRIPTS_DIR/sh/gen-colors"
for target in "${targets[@]}"; do
case "$target" in
hyprland) install_hyprland ;;
@@ -158,7 +163,11 @@ for target in "${targets[@]}"; do
tmux) install_tmux ;;
nvim) install_nvim ;;
vim) install_vim ;;
*) echo "Unknown target: $target"; usage; exit 1 ;;
*)
echo "Unknown target: $target"
usage
exit 1
;;
esac
done