only init submodules when installing awesome

This commit is contained in:
Adam 2024-01-25 03:08:33 -05:00
parent fd23bddae7
commit 6d41c499d6
2 changed files with 12 additions and 5 deletions

View file

@ -28,13 +28,19 @@ if [ "$1" -ge 1 ]; then
printf "\nInstalling base shell..."
yay -S --needed --noconfirm \
atool \
bat \
btop \
byobu \
coreutils \
fd \
ffmpegthumbnailer \
file \
fzf \
glow \
man-db \
man-pages \
mediainfo \
mosh \
neovim \
nnn \
@ -45,6 +51,8 @@ if [ "$1" -ge 1 ]; then
rsync \
rubygems \
sl \
tar \
tree \
unrar \
unzip \
wget \
@ -84,7 +92,10 @@ if [ "$1" -ge 2 ]; then
xorg-xinit \
xorg-xrandr \
fi
# Init and update awesome widgets submodule
cd "$HOME"/.doors &&
git submodule init && git submodule update
fi
# Install extras
if [ "$1" -ge 3 ]; then

4
setup
View file

@ -109,10 +109,6 @@ esac
# git clone https://git.doordesk.net/adam/Doors.git .doors
# $HOME/.doors/scripts/install_min_fedora
# Init and update awesome widgets submodule
cd "$HOME"/.doors &&
git submodule init && git submodule update
# Copy and link files
cd "$HOME"/.doors &&
"$HOME"/.doors/scripts/copy_and_link "$input"