summaryrefslogtreecommitdiff
path: root/install.sh
blob: d5d9281070064c582497d30dce71eac38926c6f1 (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
64
#!/usr/bin/bash

# On Artix Linux install artix-archlinux-support before running the script

sudo pacman -S --needed wpa_supplicant networkmanager ttf-joypixels iw dhcpcd adobe-source-code-pro-fonts falkon libnotify dunst picom light feh xorg xorg-xinit pulseaudio
clear

# Sets variables here
dwm="dwm-6.2"
st="st"
dmenu="dmenu-5.0"
surf="surf-2.1"
tabbed="tabbed-0.6"

echo "Welcome to the sarc installation"
echo ""

echo "What theme do you want to use? Current themes are down below:"
echo
ls themes/
echo
echo "Enter what theme you want here:" && read theme
echo 
echo "Theme is $theme"
pwd
cp themes/$theme ./theme.h

cd $dwm
make clean
make -s
sudo make -s install

cd ../dwmblocks
make -s
sudo make -s install

cd ../$st
make clean
make -s
sudo make -s install

cd ../$dmenu
make -s
sudo make -s install

cd ../$surf
make -s
sudo make -s install

cd ../$tabbed
make -s
sudo make -s install

cd ..
mkdir ~/.dwm/


cp etc/.xinitrc ~
cp etc/wallpaper/$theme.wallpaper.jpg ~/.config/wallpaper.jpg

cp etc/autostart.sh ~/.dwm/
sudo cp bin/* /usr/local/bin
rm theme.h