-
Notifications
You must be signed in to change notification settings - Fork 1
/
08-i3.sh
executable file
·129 lines (125 loc) · 2.19 KB
/
08-i3.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#!/bin/bash
#
# i3 profile Setup Script
#
# Distribution: Ubuntu Server 15.10
#
# Author: loki
source ~/.vars.sh
echo "Setting up build directory"
sleep 5
cd ${MAKEDIR}
echo "Adding i3 Keyring"
sleep 5
sudo apt-get --allow-unauthenticated install -y sur5r-keyring
sudo apt-get update
sleep 1
echo "Installing i3"
sleep 5
sudo apt-get build-dep -y \
i3 \
i3blocks \
i3lock
sudo apt-get install -y
libanyevent-i3-perl \
libjson-xs-perl
echo "Installing i3 Gaps Deps"
sudo apt-get update
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 \
libx11-dev \
libxfixes-dev \
libxi-dev \
asciidoc \
libxrandr-dev \
libxcb1-dev \
libxcb-util-dev \
libxcb-util0-dev \
libx11-xcb-dev \
libxcb-ewmh-dev \
libxcb-dpms0-dev
cd ${MAKEDIR}
git clone https://github.com/Airblader/i3.git
cd i3
git checkout gaps
sleep 1
git pull
sleep 1
make
sleep 1
sudo make install
sleep 1
cd ${MAKEDIR}
git clone https://github.com/Airblader/unclutter-xfixes.git
sleep 1
cd ${MAKEDIR}/unclutter-xfixes
make
sudo make install
sleep 1
cd ${MAKEDIR}
git clone https://github.com/Airblader/xedgewarp.git
sleep 1
cd ${MAKEDIR}/xedgewarp
make
sudo make install
sleep 1
cd ${MAKEDIR}
git clone https://github.com/baskerville/xtitle.git
sleep 1
cd ${MAKEDIR}/xtitle
make
sudo make install
sleep 1
echo "Installing i3 Gaps"
sleep 3
cd ${MAKEDIR}
git clone https://github.com/Airblader/i3blocks-gaps.git
sleep 1
cd ${MAKEDIR}/i3blocks-gaps
make clean debug
sleep 1
make
sudo make install
sleep 1
cd ${MAKEDIR}
git clone https://github.com/Airblader/i3status.git
sleep 1
sudo apt-get install -y \
libconfuse-dev \
libyajl-dev \
libasound2-dev \
libiw-dev \
libcap2-bin \
libpulse-dev
cd ${MAKEDIR}/i3status
make
sudo make install
sleep 1
cd ${MAKEDIR}
git clone https://github.com/Airblader/i3lock.git
sleep 1
cd ${MAKEDIR}/i3lock
sudo apt-get install -y \
libpam0g-dev \
libcairo2-dev \
libx11-dev \
libx11-xcb-dev
sleep 1
make
sudo make install
echo "i3 Installation Complete!!"
sleep 5
exit