setup: add installer for `afetch`

This commit is contained in:
Hoang Nguyen 2021-04-04 11:46:48 +03:00
parent fa91461823
commit 77e7b38ed8
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
1 changed files with 11 additions and 0 deletions

11
setup/afetch.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
git clone https://github.com/13-CF/afetch
cd afetch || exit 1
# Display colors
sed -i '13s/false/true/' src/config.h
make
mv -fv afetch ~/.local/bin/afetch
cd ..