blob: 3e2bb4b2b334c0b490502fc095d6099e39151b82 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#!/bin/bash
ALPINE_USER="bt"
if [ "$EUID" -ne 0 ]
then echo "The script has to be run as root."
exit
fi
cp modules.conf /etc/modules-load.d/
cp mimeapps.list /usr/share/applications/
cp .xinitrc /home/$ALPINE_USER/.xinitrc
cp .vimrc /home/$ALPINE_USER/.vimrc
cp .zshrc /home/$ALPINE_USER/.zshrc
cp kitty.conf /home/$ALPINE_USER/.config/kitty/kitty.conf
mkdir /home/$ALPINE_USER/.suckless
cd /home/$ALPINE_USER/.suckless
git clone https://git.btxx.org/dwm
cd dwm
echo "Installing dwm"
rm -rf config.h
make clean install
cd ..
git clone https://git.btxx.org/dmenu
cd dmenu
echo "Installing dmenu"
rm -rf config.h
make clean install
cd ..
git clone https://git.btxx.org/slstatus
cd slstatus
echo "Installing slstatus"
rm -rf config.h
make clean install
cd ..
git clone https://git.btxx.org/surf
cd surf
echo "Installing surf"
rm -rf config.h
make clean install
cd ..
git clone https://git.btxx.org/slock
cd slock
echo "Installing slock"
rm -rf config.h
make clean install
cd ..
cd ..
rc-service dbus start
rc-update add dbus
rc-service iwd start
rc-update add iwd
rc-service alsa start
rc-update add alsa
echo "Install finished. You should reboot your machine."
|