Configure neofetch on windows
- Run this in powershell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
- check scoop version
scoop --version
- install neofetch via scoop
scoop install neofetch
edit this up
get_distro_ascii() {
# This function gets the distro ascii art and colors.
#
# $ascii_distro is the same as $distro.
# If the user has placed a custom ASCII art at
# $XDG_CONFIG_HOME/neofetch/ascii (or ~/.config/neofetch/ascii),
# prefer that over the builtin distro art.
custom_ascii="${XDG_CONFIG_HOME:-${HOME}/.config}/neofetch/ascii"
if [[ -f "$custom_ascii" ]]; then
ascii_data="$(< "$custom_ascii")"
# Determine ascii colors. Prefer explicit --ascii_colors, then
# the global `colors` list, otherwise fall back to white.
if [[ ${ascii_colors[0]} != distro ]]; then
set_colors "${ascii_colors[@]}"
elif [[ ${colors[0]} != distro ]]; then
set_colors "${colors[@]}"
else
set_colors 1 1 1 1 1 1
fi
return
fi
case $(trim "$ascii_distro") in
"AIX"*)
set_colors 2 7
read -rd '' ascii_data <<'EOF'
${c1} `:+ssssossossss+-`
.oys///oyhddddhyo///sy+.