add automatic package installation to deploy.sh

added automatic package installation to deploy.sh. this by default
installs pacman and pip packages. in the future, we'll detect if we
are running in termux and install termux packages instead.
This commit is contained in:
randomuser 2022-12-24 00:38:08 -06:00
parent b9e5f82346
commit 683db2c1bd
3 changed files with 45 additions and 0 deletions

33
depends.pacman Normal file
View File

@ -0,0 +1,33 @@
linux
linux-firmware
wpa_supplicant
dhcpcd
networkmanager
pulseaudio
git
base
base-devel
curl
xorg
bspwm
sxhkd
xorg-xrandr
imagemagick
mpv
feh
neovim
tig
python
openssh
tmux
fzy
tor
torsocks
firefox
chromium
jq
remind
ledger
cmus
yt-dlp
python-pip

2
depends.pip Normal file
View File

@ -0,0 +1,2 @@
neovim
spotify-dl

View File

@ -8,6 +8,16 @@ for i in $modules; do
ln -sf "$(pwd)/$i" "$HOME/gitt/"
done
if [ -f /etc/arch-release ]; then
pacman_packages=$(cat depends.pacman | tr '\n' ' ')
sudo pacman -Syu $pacman_packages
fi
pip_packages=$(cat depends.pip | tr '\n' ' ')
pip install $pip_packages
exit
cd dot
make
echo "### WARNING: you need to install environment hooks and firefox setup later. please do that. ###"