summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index ae0d13c..1f3bcf3 100755
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,7 @@
#!/usr/bin/bash
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"
@@ -14,18 +15,15 @@ echo ""
echo "What theme do you want to use? Current themes are down below:"
echo
-ls themes/themes/
+ls themes/
echo
echo "Enter what theme you want here:" && read theme
echo
echo "Theme is $theme"
pwd
-rm ./themes/theme.h
-cp themes/themes/$theme themes/theme.h
+cp themes/$theme ./theme.h
cd $dwm
-rm config.h
-make clean
make -s
sudo make -s install
@@ -58,4 +56,5 @@ cp etc/wallpaper/$theme.wallpaper.jpg ~/.config/wallpaper.jpg
cp etc/autostart.sh ~/.dwm/
sudo cp bin/* /usr/local/bin
+rm theme.h