summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2017-09-28 15:11:20 -0500
committerBlaise Thompson <blaise@untzag.com>2017-09-28 15:11:20 -0500
commite499bec4763c32de27e7c8b76dd63d524973a061 (patch)
tree7915f4e00787f09140d72efee25a82959765e8b6 /install.sh
parentce0f961e1adfe6abff7d56656da9d9fdb969cce0 (diff)
biber
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh39
1 files changed, 26 insertions, 13 deletions
diff --git a/install.sh b/install.sh
index 9acef63..ebdd71f 100755
--- a/install.sh
+++ b/install.sh
@@ -1,19 +1,31 @@
-#function install{
-# yaourt -S $1 --needed --noconfirm
-# # clear temp
-# /bin/rm -rf /tmp/* /tmp/.* &>/dev/null
-#}
+function printColor {
+ YELLOW='\033[0;33m'
+ NC='\033[0m' # No Color
+ printf "${YELLOW}$*${NC}\n"
+}
+function printLine {
+ printColor "%`tput cols`s"|tr ' ' '#'
+}
+
+function install {
+ printLine
+ printColor $1
+ yaourt -S $1 --needed --noconfirm
+ # clear temp
+ /bin/rm -rf /tmp/* /tmp/.* &>/dev/null
+}
# utilities
sudo pacman -S git --needed
sudo pacman -S xterm --needed
sudo pacman -S yaourt --needed
-sudo pacman -S xclip --needed
-sudo pacman -S vim --needed
-sudo pacman -S imagemagick --needed
-sudo pacman -S scrot --needed
-yaourt -S insync --needed
+install xclip
+install vim
+install imagemagick
+install scrot
+install insync
+install ranger
# i3
yaourt -S i3-gaps --needed
@@ -25,7 +37,8 @@ yaourt -S i3lock-color-git --needed
yaourt -S anaconda --needed --tmp ~/Desktop
# applications
-yaourt -S texlive-most --needed --noconfirm
-sudo pacman -S emacs --needed
+install texlive-most
+install biber
+install emacs
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
-yaourt -S slack-desktop --needed
+install slack-desktop