improve message log
This commit is contained in:
parent
b88cd1b4f1
commit
5a2afa1332
12
install.sh
12
install.sh
@ -27,24 +27,24 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install i3config
|
# 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
|
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/"
|
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/"
|
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
|
for i in config i3blocks.conf; do
|
||||||
install -m644 -v /tmp/i3config/$i "$HOME/.config/i3/$i"
|
install -m644 -v /tmp/i3config/$i "$HOME/.config/i3/$i"
|
||||||
done
|
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/"
|
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/"
|
install -m644 -v /tmp/i3config/tmp/fontawesome.ttf "$HOME/.local/share/fonts/"
|
||||||
|
|
||||||
# clean up temp files
|
# clean up temp files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user