improve message log

This commit is contained in:
Jesús 2019-07-30 21:23:45 -05:00
parent b88cd1b4f1
commit 5a2afa1332
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -27,24 +27,24 @@ do
fi
# Install i3config
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'cloning i3config'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Cloning i3config...' '\e[m'
git clone "$URL" "/tmp/i3config/" --depth=1
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'copying images'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Copying images...' '\e[m'
cp -rv /tmp/i3config/images "$HOME/.config/i3/"
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'copying scripts'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Copying scripts...' '\e[m'
cp -rv /tmp/i3config/scripts "$HOME/.config/i3/"
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'copying i3 config'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Copying i3-config...' '\e[m'
for i in config i3blocks.conf; do
install -m644 -v /tmp/i3config/$i "$HOME/.config/i3/$i"
done
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'copying conky'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Copying conky...' '\e[m'
install -m644 -v /tmp/i3config/tmp/conky.conf "$HOME/.config/conky/"
printf '\e[1;32m%s\e[1;36m%s\e[m\n' '=> ' 'copying fontawesome'
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Copying FontAwesome...' '\e[m'
install -m644 -v /tmp/i3config/tmp/fontawesome.ttf "$HOME/.local/share/fonts/"
# clean up temp files