Work on install script

master
Jonathan Hodgson 5 years ago
parent f4f0bcd126
commit 140c3ecf9a
  1. 37
      install.sh
  2. 25
      stow.sh

@ -0,0 +1,37 @@
#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $SCRIPT_DIR
doStow(){
local tostow=(
"bin"
"browserOverides"
"dunst"
"git"
"pandoc"
"qutebrowser"
"ranger"
"rofi"
"sxiv"
"templates"
"vim"
"x"
"zathura"
)
for i in ${tostow[*]}; do
stow $i
done
}
pacmanInstall(){
local packages=(
"gvim"
"zsh"
"git"
)
if pacman -Qs $package > /dev/null; then
fi
}

@ -1,25 +0,0 @@
#!/usr/bin/env sh
tostow=(
"bin"
"browserOverides"
"dunst"
"git"
"pandoc"
"qutebrowser"
"ranger"
"rofi"
"sxiv"
"templates"
"vim"
"x"
"zathura"
)
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
cd SCRIPT_DIR
for i in ${tostow[*]}; do
stow $i
done
Loading…
Cancel
Save