dotfiles/tasks/shell/arch_dependencies.sh

43 lines
1.0 KiB
Bash
Raw Normal View History

#!/usr/bin/env sh
indirect_expand() {
eval "value=\"\${$1}\""
echo $value
}
ESSENTIAL=(
"lightdm-git" "zsh", "git" "emacs-git" "autoconf" "pkg-config" "pyenv"
"autoconf" "automake" "the_silver_searcher" "jdk8-openjdk" "openjdk8-doc"
"openjdk8-src" "ghc" "cabal-install" "sparkleshare" "rofi" "rxvt-unicode"
"keepassxc-git" "xorg-xrandr" "spotify" "htop" "rcm" "networkmanager-applet"
"pulseaudio-ctl" "pasystray" "xclip" "copyq" "notification-daemon"
"pavucontrol" "xsettingsd-git" "udiskie"
)
LANGUAGES=(
"scala" "clojure" "leiningen" "boot" "go" "ruby" "node" "ghc" "rust" "rbenv"
"nvm"
)
APPEARANCE=(
"adobe-source-code-pro-fonts" "emojione-color-font" "fontawesome" "ttf-roboto" "compton"
"screenfetch" "noto-fonts-cjk" "adapta-gtk-theme" "numix-icon-theme-git"
)
NVIDIA=(
"nvidia-settings" "feh"
)
MACBOOK=(
"broadcom-wl-dkms" "pommed-light" "batterymon-clone"
)
install_deps() {
for dependency in indirect_expand "${1-ESSENTIAL}"
do
pacaur -S $dependency --noconfirm
done
}
install_deps "$@"