From 9b584aa697acd0feb862e51a5d1381edfdd47137 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 21 Mar 2025 19:46:25 +0100 Subject: [PATCH] fix: again --- install.sh | 76 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/install.sh b/install.sh index 167c227..6a707ec 100755 --- a/install.sh +++ b/install.sh @@ -162,8 +162,7 @@ askThings() { echo_info "Choose a bar provider - [w]aybar || [g]Bar || [h]yprpanel" read -r askBar "$HOME/.monitors.conf" fi } pkg_optional() { - _ops=" - cowsay - cmatrix - trash-cli - " + _ops=( + "cowsay" + "cmatrix" + "trash-cli" + ) case "$_ops" in Y | y) - for _o_ in $_ops; do + for _o_ in "${_ops[@]}"; do if command_exists "$_o_"; then echo_note "$_o_ - is already installed" else @@ -271,18 +283,6 @@ pkg_optional() { ;; esac - if [ ! -d "$HOME/.config/nvim" ]; then - echo_note "There was no nvim config found, do you want to clone the pika nvim? (y/n)" - read -r _neovim