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

4
setup
View file

@ -109,10 +109,6 @@ esac
# git clone https://git.doordesk.net/adam/Doors.git .doors # git clone https://git.doordesk.net/adam/Doors.git .doors
# $HOME/.doors/scripts/install_min_fedora # $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 # Copy and link files
cd "$HOME"/.doors && cd "$HOME"/.doors &&
"$HOME"/.doors/scripts/copy_and_link "$input" "$HOME"/.doors/scripts/copy_and_link "$input"