aboutsummaryrefslogtreecommitdiff
path: root/install-laptop.sh
blob: 2a78a7cd8b9bac657740c7391eafd4e1a647469e (plain)
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
#!/bin/bash

if [ "$EUID" -ne 0 ]
  then echo "The script has to be run as root."
  exit
fi

echo "Installing laptop version..."

cd laptop/dwmo
echo "Installing dwm"
rm -rf config.h
make clean install
cd ../..

cd dmenuo
echo "Installing dmenu"
rm -rf config.h
make clean install
cd ..

cd laptop/slstatuso
echo "Installing slstatus"
rm -rf config.h
make clean install
cd ../..

cd laptop/sto
echo "Installing st"
rm -rf config.h
make clean install
cd ../..

cd slocko
echo "Installing slock"
rm -rf config.h
make clean install
cd ..

echo "Install finished. You should reboot the machine now."