Update scripts
This commit is contained in:
parent
668036007c
commit
2033123873
|
@ -1,6 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
getGitconfigData() {
|
||||
dialog --stdout --yesno "Would you like to set up gitconfig?" 10 60
|
||||
if [ $? -eq 1 ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
dialog --msgbox "Now, I will ask you for data to set up gitconfig personal account." 10 60
|
||||
gitPersonalName=$(dialog --inputbox "Enter a name." 10 60 3>&1 1>&2 2>&3 3>&1)
|
||||
gitPersonalMail=$(dialog --inputbox "Enter a mail." 10 60 3>&1 1>&2 2>&3 3>&1)
|
||||
|
@ -20,7 +25,7 @@ getGitconfigData() {
|
|||
startRice() {
|
||||
dialog --title "CocoRice" --msgbox "Hi! This script will auto install my dotfiles. Make sure to backup your dotfiles!" 10 60
|
||||
|
||||
# getGitconfigData
|
||||
getGitconfigData
|
||||
|
||||
./scripts/linkFiles.sh
|
||||
|
||||
|
|
|
@ -4,12 +4,28 @@ DOTFILES_CONFIG=$HOME/test/.config
|
|||
|
||||
cd $DOTFILES_CONFIG
|
||||
|
||||
git clone https://github.com/santilococo/dwmblocks.git
|
||||
git clone https://github.com/santilococo/dwm.git
|
||||
git clone https://github.com/santilococo/st.git
|
||||
git clone https://github.com/santilococo/dmenu.git
|
||||
downloaded=false
|
||||
|
||||
sudo echo -n
|
||||
if [[ ! -d "dwmblocks" ]]; then
|
||||
git clone https://github.com/santilococo/dwmblocks.git
|
||||
downloaded=true
|
||||
fi
|
||||
if [[ ! -d "dwm" ]]; then
|
||||
git clone https://github.com/santilococo/dwm.git
|
||||
downloaded=true
|
||||
fi
|
||||
if [[ ! -d "st" ]]; then
|
||||
git clone https://github.com/santilococo/st.git
|
||||
downloaded=true
|
||||
fi
|
||||
if [[ ! -d "dmenu" ]]; then
|
||||
git clone https://github.com/santilococo/dmenu.git
|
||||
downloaded=true
|
||||
fi
|
||||
|
||||
if [ downloaded = true ]; then
|
||||
sudo echo -n
|
||||
fi
|
||||
|
||||
#cd dwmblocks && sudo make install
|
||||
#cd dwm && sudo make install
|
||||
|
|
Loading…
Reference in New Issue