Make install.sh call gen-colours
This commit is contained in:
13
install.sh
13
install.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user