From 6d41c499d658f6d8747649333fb319bc9fb60432 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Thu, 25 Jan 2024 03:08:33 -0500 Subject: [PATCH] only init submodules when installing awesome --- scripts/install_arch | 13 ++++++++++++- setup | 4 ---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/scripts/install_arch b/scripts/install_arch index 63c3ae6..09d9f33 100755 --- a/scripts/install_arch +++ b/scripts/install_arch @@ -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 diff --git a/setup b/setup index e6b1384..15552dc 100755 --- a/setup +++ b/setup @@ -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"