You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.7 KiB
93 lines
1.7 KiB
#!/bin/bash
|
|
|
|
if [ ! -d ${dest}/config ]; then
|
|
mkdir -p ${dest}/.config/
|
|
cp -R ${source}/config/ ${dest}/.config/
|
|
fi
|
|
|
|
apt-get update && apt-get install -y \
|
|
build-essential \
|
|
bison \
|
|
checkinstall \
|
|
cargo \
|
|
cmake \
|
|
cmake-data \
|
|
compton \
|
|
curl \
|
|
git \
|
|
i3-wm \
|
|
libunwind-dev \
|
|
libcairo2-dev \
|
|
libxcb1-dev \
|
|
libxcb-ewmh-dev \
|
|
libxcb-icccm4-dev \
|
|
libxcb-image0-dev \
|
|
libxcb-randr0-dev \
|
|
libxcb-util0-dev \
|
|
libxcb-xkb-dev \
|
|
libxcb-xrm-dev \
|
|
libasound2-dev \
|
|
libssl-dev \
|
|
libpulse-dev \
|
|
libmpdclient-dev \
|
|
libiw-dev \
|
|
libcurl4-openssl-dev \
|
|
libxcb-cursor-dev \
|
|
nitrogen \
|
|
pkg-config \
|
|
python-xcbgen \
|
|
python \
|
|
snap \
|
|
rbenv \
|
|
ruby-build \
|
|
rust \
|
|
terminator \
|
|
tmux \
|
|
wget \
|
|
xcb-proto;
|
|
|
|
snap install slack;
|
|
|
|
curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
|
|
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
|
|
source ~/.gvm/scripts/gvm
|
|
gvm install go1.4 -B
|
|
gvm use go1.4
|
|
export GOROOT_BOOTSTRAP=$GOROOT
|
|
gvm install go1.5
|
|
|
|
cd ${dest}/projects
|
|
|
|
# install polybar
|
|
git clone --branch 3.1.0 --recursive https://github.com/jaagr/polybar polybar
|
|
cd ./polybar
|
|
./build.sh
|
|
cd ..
|
|
|
|
|
|
# install vim with all of the necessary features
|
|
git clone https://github.com/vim/vim vim
|
|
cd ./vim
|
|
|
|
./configure --with-features=huge \
|
|
--enable-multibyte \
|
|
--enable-rubyinterp=yes \
|
|
--enable-python3interp=yes \
|
|
--enable-perlinterp=yes \
|
|
--enable-luainterp=yes \
|
|
--enable-gui=gtk2 \
|
|
--enable-cscope \
|
|
--prefix=/usr/local
|
|
|
|
make VIMRUNTUME=~/tools/vim/
|
|
|
|
checkinstall
|
|
cd ..
|
|
|
|
git clone https://github.com/51v4n/i3-gnome i3-gnome
|
|
cd ./i3-gnome
|
|
make install
|
|
cd ..
|
|
|
|
cd ${dest}
|