update: submodules
This commit is contained in:
parent
b3073df4b2
commit
6fb806fb97
2 changed files with 4 additions and 12 deletions
14
install.sh
14
install.sh
|
@ -97,6 +97,7 @@ __pre_stow__() {
|
|||
"yazi"
|
||||
"fastfetch"
|
||||
"hypr"
|
||||
"tmux"
|
||||
"kitty"
|
||||
"neovide"
|
||||
"rofi"
|
||||
|
@ -122,30 +123,20 @@ __pre_stow__() {
|
|||
h_files=(
|
||||
".zshrc"
|
||||
".zshenv"
|
||||
".tmux.conf"
|
||||
".wezterm.lua"
|
||||
)
|
||||
|
||||
h_dirs=(
|
||||
".tmux"
|
||||
".zsh"
|
||||
)
|
||||
|
||||
for _f in "${h_files[@]}"; do
|
||||
if [ -f "$HOME/$_f" ]; then
|
||||
mv -f "$HOME/$_f" "$bak_dir" && echo_info "Moved $_f to $bak_dir"
|
||||
fi
|
||||
done
|
||||
|
||||
for _d in "${h_dirs[@]}"; do
|
||||
for _d in ".zsh .tmux"; do
|
||||
if [ -d "$HOME/$_d" ]; then
|
||||
mv -f "$HOME/$_d" "$bak_dir" && echo_info "Moved $_d to $bak_dir"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -d "$HOME/.local/share/fastfetch/" ]; then
|
||||
mv -f "$HOME/.local/share/fastfetch" "$bak_dir"
|
||||
fi
|
||||
}
|
||||
|
||||
askThings() {
|
||||
|
@ -292,6 +283,7 @@ pkg_optional() {
|
|||
"cmatrix"
|
||||
"trash-cli"
|
||||
)
|
||||
|
||||
case "$_ops" in
|
||||
Y | y)
|
||||
for _o_ in "${_ops[@]}"; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue