diff options
| author | stkhan <personal@slickd.xyz> | 2021-05-08 09:45:33 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-05-08 09:45:33 -0500 |
| commit | 43350f7dbf2b8f348605322277bfdd19bba165b6 (patch) | |
| tree | 6a5c5a4591fcb3f8bb6d4845b18553e5997e6c22 /install.sh | |
| parent | 210acbc3e92993865bbd4f9c02d09248e5718204 (diff) | |
Fixed some things, made sarc.old folder
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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 |