blob: ebbc0f0bd823bd321649d5f26cc44742dd2f864a (
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
|
#!/bin/sh
# A script to compile sarc
dwm="dwm-6.2"
st="st"
dmenu="dmenu-5.0"
echo "Welcome to the sarc installation!"
echo
echo "What theme do you want to use?"
echo
ls themes/
echo
echo "Enter what theme you would like to use:" && read theme
echo
echo "Theme is $theme"
echo
echo $theme >> /tmp/theme
pwd
cp themes/$theme theme.h
cd $dwm
make clean
make -s
cd ../dwmblocks
make clean
make -s
cd ../st-0.8.4
make clean
make -s
cd ../$dmenu
make clean
make -s
cd ..
cp etc/wallpaper/$theme.wallpaper.jpg ./wallpaper.jpg
echo "Compilation is complete! Run sarc_install to install it"
|