Make install.sh call gen-colours
This commit is contained in:
13
install.sh
13
install.sh
@@ -141,12 +141,17 @@ fi
|
|||||||
targets=()
|
targets=()
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
-h|--help) usage; exit 0 ;;
|
-h | --help)
|
||||||
|
usage
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
all) targets+=(hyprland cursor shell alacritty tmux nvim vim) ;;
|
all) targets+=(hyprland cursor shell alacritty tmux nvim vim) ;;
|
||||||
*) targets+=("$arg") ;;
|
*) targets+=("$arg") ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
"$SCRIPTS_DIR/sh/gen-colors"
|
||||||
|
|
||||||
for target in "${targets[@]}"; do
|
for target in "${targets[@]}"; do
|
||||||
case "$target" in
|
case "$target" in
|
||||||
hyprland) install_hyprland ;;
|
hyprland) install_hyprland ;;
|
||||||
@@ -158,7 +163,11 @@ for target in "${targets[@]}"; do
|
|||||||
tmux) install_tmux ;;
|
tmux) install_tmux ;;
|
||||||
nvim) install_nvim ;;
|
nvim) install_nvim ;;
|
||||||
vim) install_vim ;;
|
vim) install_vim ;;
|
||||||
*) echo "Unknown target: $target"; usage; exit 1 ;;
|
*)
|
||||||
|
echo "Unknown target: $target"
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user