Actualiser script.sh
Remplacement de neofetch par fastfetch
This commit is contained in:
parent
56fb586a33
commit
c24280d443
10
script.sh
10
script.sh
@ -14,7 +14,7 @@ packages=(
|
||||
"btop" # Betther than top
|
||||
"ncdu" # Better than du -h
|
||||
"duf" # Better than df -h
|
||||
"neofetch" # Because it's cool
|
||||
"fastfetch" # Because it's cool
|
||||
"git" # Because git
|
||||
"fuck" # Fuck error
|
||||
"python3-pip" # PIP
|
||||
@ -30,6 +30,8 @@ clear
|
||||
echo "Mise à jour de la liste des paquets..."
|
||||
echo " "
|
||||
sudo apt update >/dev/null 2>&1
|
||||
sudo apt install software-properties-common
|
||||
sudo apt update >/dev/null 2>&1
|
||||
echo "Installation des paquets :"
|
||||
for package in "${packages[@]}"; do
|
||||
if sudo apt install "$package" -y >/dev/null 2>&1; then
|
||||
@ -79,9 +81,9 @@ echo " - Copie des fichiers nécessaires à powerlevel10k"
|
||||
cp ./p10k.zsh ~/.p10k.zsh
|
||||
cp ./zshrc ~/.zshrc
|
||||
echo " - Copie des fichiers nécessaires à Neofetch"
|
||||
if [ ! -d ~/.config/neofetch ]; then
|
||||
mkdir -p ~/.config/neofetch
|
||||
if [ ! -d ~/.config/fastfetch ]; then
|
||||
mkdir -p ~/.config/fastfetch
|
||||
fi
|
||||
cp -r ./neofetch/* ~/.config/neofetch
|
||||
cp -r ./fastfetch/* ~/.config/fastfetch
|
||||
echo " - Mise en place de zsh par défaut (mot de passe nécessaire)"
|
||||
chsh -s $(which zsh)
|
Loading…
x
Reference in New Issue
Block a user