This repository has been archived on 2021-11-23. You can view files and clone it, but cannot push or open issues or pull requests.
sh_multi_install/users/benjasat/config/neofetch.sh
2021-04-24 15:01:17 +02:00

14 lines
508 B
Bash

#!/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
}