Added users/benjasat/config/neofetch.sh

This commit is contained in:
BenjaSat 2021-04-24 15:01:17 +02:00
parent ce15508ef1
commit 641e37eff8
2 changed files with 16 additions and 1 deletions

View File

@ -15,5 +15,6 @@
"titleBar.inactiveBackground": "#83256199", "titleBar.inactiveBackground": "#83256199",
"titleBar.inactiveForeground": "#e7e7e799" "titleBar.inactiveForeground": "#e7e7e799"
}, },
"peacock.color": "#832561" "peacock.color": "#832561",
"python.pythonPath": "C:\\Users\\sattler\\AppData\\Local\\Programs\\Python\\Python39\\python.exe"
} }

View File

@ -0,0 +1,14 @@
#!/bin/bash
configure_neofetch_server () {
echo "Installing neofetch configuration"
if [ -f "/home/$USER/.config/neofetch/config.conf"]; then
# rename old config to "config_old.conf"
cp /home/$USER/.config/neofetch/config.conf /home/$USER/.config/neofetch/config_old.conf
sudo rm -f /home/$USER/.config/neofetch/config.conf
fi
# copy new config file
cp $PWD/users/benjasat/config/server/neofetch/config.conf /home/$USER/.config/neofetch/config.conf
}