aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
-rwxr-xr-xsource.sh9
2 files changed, 6 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 0efe21c..ca885a1 100755
--- a/build.sh
+++ b/build.sh
@@ -19,8 +19,8 @@ locale-gen
sh mod.sh
systemctl enable wpa_supplicant@wlp3s0
-sh source.sh
sh config.sh
+sh source.sh
su - $USE -c "/dotfiles/user.sh"
diff --git a/source.sh b/source.sh
index 17d309e..7eda6a4 100755
--- a/source.sh
+++ b/source.sh
@@ -1,15 +1,16 @@
#!/bin/sh
# Installs from source
+su - $USE <<EOF
git clone https://git.suckless.org/st
cd st
curl -O http://st.suckless.org/patches/alpha/st-alpha-0.8.2.diff
git apply st-alpha-0.8.2.diff
-make install
+sed 's/^float alpha =.*$/float alpha = 0.6/' config.def.h > config.h
+sudo make install
cd ..
git clone https://aur.archlinux.org/preloader-signed.git
-chown -R nobody preloader-signed
cd preloader-signed
-su -s/bin/sh nobody -c "makepkg "
-pacman -U preloader-signed-20130208-1-x86_64.pkg.tar.xz
+yes | makepkg -si
cd ..
+EOF