-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
56 lines (48 loc) · 1.84 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# apt update
sudo apt update
# softwares
sudo apt-get install -y arandr vim git zsh curl i3blocks tmux rofi tmuxinator ranger fonts-font-awesome feh xclip python3-pip
sudo pip3 install pywal
cd ~
git clone https://github.com/erikw/tmux-powerline.git
# install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# ycm dependency
sudo apt-get install -y python-dev libxml2-dev libxslt-dev cmake
# script for i3 gaps
sudo apt-get install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev dh-autoreconf libev-dev libstartup-notification0-dev
cd ~
git clone --recursive https://github.com/Airblader/xcb-util-xrm.git
cd xcb-util-xrm/
./autogen.sh
make
sudo make install
cat > /etc/ld.so.conf.d/i3.conf
sudo ldconfig
sudo ldconfig -p
cd ~
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
rm -Rf build/
mkdir build
cd build/
../configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
# install poly bar
sudo apt-get install xcb-proto xcb-ewmh libxcb-ewmh-dev python-xcbgen
cd ~
git clone --branch 3.2 --recursive https://github.com/jaagr/polybar
mkdir polybar/build
cd polybar/build
cmake ..
sudo make install
# font
sudo cp ~/dotfiles/mulders-handwriting.ttf /usr/share/fonts/truetype
cd /usr/share/fonts/truetype
sudo wget https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete%20Mono.otf
sudo fc-cache -f -v
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"