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"
|
"yazi"
|
||||||
"fastfetch"
|
"fastfetch"
|
||||||
"hypr"
|
"hypr"
|
||||||
|
"tmux"
|
||||||
"kitty"
|
"kitty"
|
||||||
"neovide"
|
"neovide"
|
||||||
"rofi"
|
"rofi"
|
||||||
|
@ -122,30 +123,20 @@ __pre_stow__() {
|
||||||
h_files=(
|
h_files=(
|
||||||
".zshrc"
|
".zshrc"
|
||||||
".zshenv"
|
".zshenv"
|
||||||
".tmux.conf"
|
|
||||||
".wezterm.lua"
|
".wezterm.lua"
|
||||||
)
|
)
|
||||||
|
|
||||||
h_dirs=(
|
|
||||||
".tmux"
|
|
||||||
".zsh"
|
|
||||||
)
|
|
||||||
|
|
||||||
for _f in "${h_files[@]}"; do
|
for _f in "${h_files[@]}"; do
|
||||||
if [ -f "$HOME/$_f" ]; then
|
if [ -f "$HOME/$_f" ]; then
|
||||||
mv -f "$HOME/$_f" "$bak_dir" && echo_info "Moved $_f to $bak_dir"
|
mv -f "$HOME/$_f" "$bak_dir" && echo_info "Moved $_f to $bak_dir"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for _d in "${h_dirs[@]}"; do
|
for _d in ".zsh .tmux"; do
|
||||||
if [ -d "$HOME/$_d" ]; then
|
if [ -d "$HOME/$_d" ]; then
|
||||||
mv -f "$HOME/$_d" "$bak_dir" && echo_info "Moved $_d to $bak_dir"
|
mv -f "$HOME/$_d" "$bak_dir" && echo_info "Moved $_d to $bak_dir"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -d "$HOME/.local/share/fastfetch/" ]; then
|
|
||||||
mv -f "$HOME/.local/share/fastfetch" "$bak_dir"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
askThings() {
|
askThings() {
|
||||||
|
@ -292,6 +283,7 @@ pkg_optional() {
|
||||||
"cmatrix"
|
"cmatrix"
|
||||||
"trash-cli"
|
"trash-cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
case "$_ops" in
|
case "$_ops" in
|
||||||
Y | y)
|
Y | y)
|
||||||
for _o_ in "${_ops[@]}"; do
|
for _o_ in "${_ops[@]}"; do
|
||||||
|
|
2
zsh
2
zsh
|
@ -1 +1 @@
|
||||||
Subproject commit f7fe47a15e6fd9307a09435f7b4993f7a8809a32
|
Subproject commit e4930d221167fd61903619d67377df5ef6c80a02
|
Loading…
Add table
Add a link
Reference in a new issue