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