#!/usr/bin/bash # Sets variables here 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? Current themes are down below:" echo ls themes/themes/ 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 cd $dwm rm config.h make clean make -s sudo make -s install cd ../$st make -s sudo make -s install cd ../$dmenu make -s sudo make -s install cd .. mkdir -p ~/.config/sarc mkdir ~/.dwm/ cp -r * ~/.config/sarc/ cp etc/.xinitrc ~ etc/cursor cp etc/$theme.wallpaper.jpg ~/.config/wallpaper.jpg cp etc/autostart.sh ~/.dwm sudo cp bin/* /usr/local/bin