From 43350f7dbf2b8f348605322277bfdd19bba165b6 Mon Sep 17 00:00:00 2001 From: stkhan Date: Sat, 8 May 2021 09:45:33 -0500 Subject: Fixed some things, made sarc.old folder --- README.md | 4 +--- install.sh | 16 +++++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e81af72..a78779f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ This is the setup I use on Linux. I use my own versions of paleofetch, dwm, dmen Files are in $HOME/.config/sarc +Past config is in $HOME/.config/sarc.old ## Installation ```git clone https://github.com/SkywalkerSW5/sarc @@ -77,6 +78,3 @@ Edit /etc/ns.conf, place where your wpa_supplicant config is in the CONFIG var, ### st Luke Smith (lukesmith.xyz) is the creator of the version of st I am using, so thanks to him. https://github.com/LukeSmithxyz/ -### Paleofetch -A neofetch clone written in C, that is much faster. Only has ascii art for Arch. - 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 -- cgit v1.2.3