dotfiles/.local/bin/color-scripts/debian

39 lines
1.4 KiB
Bash
Executable file

#!/bin/sh
# Based on ufetch-debian
# https://gitlab.com/jschx/ufetch/-/blob/master/ufetch-debian
if [ -x "$(command -v tput)" ]; then
bold="$(tput bold)"
black="$(tput setaf 0)"
red="$(tput setaf 1)"
green="$(tput setaf 2)"
yellow="$(tput setaf 3)"
blue="$(tput setaf 4)"
magenta="$(tput setaf 5)"
cyan="$(tput setaf 6)"
white="$(tput setaf 7)"
reset="$(tput sgr0)"
fi
# you can change these
ic="${reset}" # info
c0="${reset}${red}"
c1="${reset}${green}"
c2="${reset}${yellow}"
c3="${reset}${blue}"
c4="${reset}${magenta}"
c5="${reset}${cyan}"
## OUTPUT
cat <<EOF
${c0} ,---._ ${c1} ,---._ ${c2} ,---._ ${c3} ,---._ ${c4} ,---._ ${c5} ,---._
${c0} /\` __ \\ ${c1} /\` __ \\ ${c2} /\` __ \\ ${c3} /\` __ \\ ${c4} /\` __ \\ ${c5} /\` __ \\
${c0} | / | ${c1} | / | ${c2} | / | ${c3} | / | ${c4} | / | ${c5} | / |
${c0} | \`.__.\` ${c1} | \`.__.\` ${c2} | \`.__.\` ${c3} | \`.__.\` ${c4} | \`.__.\` ${c5} | \`.__.\`
${c0} \ ${c1} \ ${c2} \ ${c3} \ ${c4} \ ${c5} \
${c0} \`-,_ ${c1} \`-,_ ${c2} \`-,_ ${c3} \`-,_ ${c4} \`-,_ ${c5} \`-,_
${ic}
EOF