dotfiles/neofetch/deploy.zsh

10 lines
274 B
Bash
Raw Normal View History

2023-07-14 22:39:37 +02:00
#! /bin/zsh
GIT_ROOT=$(git rev-parse --show-toplevel)
if [[ -L "/etc/neofetch.conf" ]]; then
echo "Symlink for neofetch already exists, skipping"
else
echo "Creating symlink for neofetch.conf"
sudo ln -s ${GIT_ROOT}/neofetch/neofetch.conf /etc/neofetch.conf
fi