summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/install.sh b/install.sh
index 1153c4c..e7d4b03 100755
--- a/install.sh
+++ b/install.sh
@@ -7,9 +7,9 @@ dwm="dwm-6.2"
dmenu="dmenu-5.0"
st="st-0.8.2"
dwmblocks="dwmblocks"
-
-dialog --title "sarc" --msgbox "Welcome to the sarc installer!" 0 0
-dialog --title "sarc" --inputbox "What theme would you like? Choose from green, blue, and red" 0 0 2> /tmp/.theme_sel
+theme="red"
+#dialog --title "sarc" --msgbox "Welcome to the sarc installer!" 0 0
+#dialog --title "sarc" --inputbox "What theme would you like? Choose from green, blue, and red" 0 0 2> /tmp/.theme_sel
clear
theme="$(cat /tmp/.theme_sel)"
@@ -17,9 +17,12 @@ theme="$(cat /tmp/.theme_sel)"
echo "Your theme is $theme"
sudo pacman -Sy --needed webkit2gtk dialog bash wpa_supplicant iw dhcpcd adobe-source-code-pro-fonts falkon libnotify xorg xorg-xinit light picom feh dunst pulseaudio
- echo "Setting up config folders"
- mkdir -p ~/.config/sarc
- cp * ~/.config/sarc/
+ echo "Copying old sarc config to ~/.config/sarc.old"
+ mv ~/.config/sarc ~/.config/sarc.old
+
+ echo "Making config folders"
+ mkdir -p ~/.config/sarc/
+ cp -r * ~/.config/sarc/
cd ~/.config/sarc/
sudo cp /etc/ns.conf /etc/
@@ -53,4 +56,3 @@ theme="$(cat /tmp/.theme_sel)"
sudo cp ./bin/* /usr/local/bin
dialog --title "sarc" --msgbox "The installation is complete! Type *startx* to launch dwm." 0 0
- clear