[O] Allow specifying default config to copy to ~/.config

Closes #133
This commit is contained in:
Azalea 2023-06-06 20:14:13 -07:00
parent 717b74c30b
commit 60b4b925d3

View file

@ -984,6 +984,11 @@ background_color=
stdout="auto"
EOF
# If /etc/neofetch/default.conf exist, set config variable to its content
if [[ -f /etc/neofetch/default.conf ]]; then
config="$(< /etc/neofetch/default.conf)"
fi
# DETECT INFORMATION
get_os() {