diff options
author | Alexis Hovorka <[email protected]> | 2022-08-19 13:34:14 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2022-08-19 13:34:14 -0600 |
commit | 031c8adfcd16a714f57e12f550c772631cad6bf6 (patch) | |
tree | f13449d42472e0152e17a2c95880968ea4c11d1f | |
parent | 06b638c6524e9c92dbe10688fcee86d564e9df6c (diff) |
[feat] Add fren
-rw-r--r-- | base.yaml | 1 | ||||
-rwxr-xr-x | base/fren | 121 |
2 files changed, 122 insertions, 0 deletions
@@ -11,6 +11,7 @@ ~/.ackrc: base/ackrc ~/.bin/cht.sh: base/cht.sh ~/.bin/dotf: base/dotf + ~/.bin/fren: base/fren ~/.bin/nyan: base/nyan ~/.bin/otp: base/otp ~/.bin/pr-dups: base/pr-dups diff --git a/base/fren b/base/fren new file mode 100755 index 0000000..ee90d70 --- /dev/null +++ b/base/fren @@ -0,0 +1,121 @@ +#!/bin/bash + +WHI="\e[0m" +RED="\e[31m" +GRN="\e[32m" +YLW="\e[33m" +BLU="\e[34m" +CYN="\e[36m" +DGY="\e[38;5;8m" +GRY="\e[38;5;20m" +PNK="\e[38;5;219m" +SKY="\e[38;5;117m" +PRP="\e[38;5;127m" +ORN="\e[38;5;16m" +BRN="\e[38;5;17m" + +FRENS=( + +"(\\_/) +( . .) +C($PNK\"$WHI)($PNK\"$WHI)" + +" (\\(\\ $DGY zzz... +$WHI (-$PNK.$WHI-) +o_($PNK\"$WHI)($PNK\"$WHI)" + +"(\\__/) +( 'x') +c($PNK\"$WHI)($PNK\"$WHI)" + +"$ORN /\\_/\\ $WHI prr... +$ORN($GRY=$WHI^$PNK.$WHI^$GRY=$ORN) +($PNK\"$ORN)_($PNK\"$ORN)_/" + +"$ORN /\\/\\ + ($GRY=$WHI'${ORN}w$WHI'$ORN)$WHI mrow! +$ORN<(_m)_m)" + +"$PNK ^---^ +( ^o^ )$WHI squee! +$PNK( u u )" + +"$GRN .---. + [$GRY'${DGY}n$GRY'$GRN]$WHI kssss~ +$GRN |#| + [_I_]" + +"$GRY [$GRN@@$GRY] $WHI whrr... +$GRY/|__|\\ +$RED d b" + +"$GRY [${BLU}oo$GRY] $WHI bebeep! +$GRY/|$DGY##$GRY|\\ +$ORN d b" + +"${BLU}_-_-_-_-$GRY __o +${BLU}_-_-_-$RED _,$GRY\\<${RED}c> +${BLU}_-_-_ $DGY(_)$GRY/$DGY(_)" + +"$GRN \\\\\\\\W// \\\\\\\\W// $WHI __ |\\M/| __ +$RED('::.:) ('::.:) $WHI ////$YLW('::.:)$WHI\\\\\\\\\\\\\\\\ +$RED \\'.:/ \\'.:/ $WHI \\////$YLW\\'.:/$WHI\\\\\\\\\\\\\\\\/ +$RED \`-' \`-' $WHI \\/ $YLW\`-'$WHI \\/" + +"$YLW /\\ + /__\\ + /\\ /\\ +/__\\/__\\" + +#poke great ultra master +"$RED ,---. $BLU ,${RED}---$BLU. $DGY ,---. $PRP ,---. +$RED/_$GRY.-.${RED}_\\ $BLU/_\\\\${RED}V$BLU/_\\ $DGY/_$YLW\\\\$DGY-$YLW/${DGY}_\\ $PNK//${PRP}/${WHI}M$PRP\\\\$PNK\\\\\\\\ +$WHI\\ $GRY'-'$WHI / \\ $GRY'-'$WHI / \\ $GRY'-'$WHI / \\ $GRY'-'$WHI / + \`---' \`---' \`---' \`---'" + +"$RED-_-_-_-_-_-_-_$BRN,------, +$YLW-_-_-_-_-_-_-_$BRN|$PNK. $BLU*$GRY/\\_/\\ +$GRN-_-_-_-_-_-_-$GRY~$BRN|__$GRY( ^ .^) +$CYN-_-_-_-_-_-_-$GRY\"\" \"\"" + +"$PRP .----. $YLW @ @ +$PRP / .-\"-.\`. $YLW \\\\v/ $WHI bebeep! +$PRP | | '\\ \\ \\\\${YLW}_/ ) + ,-$PRP\\ \`-.' /.'$YLW / +'---$PRP\`----'$YLW----'" + +"$GRN _ + __ ___.--'_\`. $WHI blep +$GRN ( _\`.'. - '${WHI}o$GRN\` ) + _\\.'_' _.-'$PNK\"\"\"\"$DGY* +$GRN ( \\\`. ) //\\' + \\_\`-'\`---'\\\\\\__, + \\\` \`-\\ +" + +"$SKY _ $RED _ +$SKY __ ___.--'_\`. $RED .'_\`--.___ __ +$PNK ( _\`.'. - 'o\` )$ORN ( 'o\` - .\`.'_ ) +$WHI _\\.'_' _.-' \`-._ \`_\`./_ +$PNK( \\\`. ) //\\' $RED<3$PNK '/\\\\\\ ( .'/ ) +$SKY \\_\`-'\`---'\\\\\\__, $PRP ,__//\`---'\`-'_/ +$SKY \\\` $WHI They $SKY \`-\\ $WHI are $PRP /-'$WHI turnin$PRP '/ +$DGY ~~$WHI the friggin frogs$DGY ~~ +$DGY ~~~~$WHI G${PNK}A${SKY}Y${BRN}Y${DGY}Y${RED}Y${ORN}Y${YLW}Y${GRN}Y${BLU}Y${PRP}Y$DGY ~~~~" + +) + +echo -e "\e[0m" +if [[ "$1" = "all" ]]; then + while read FREN; do + echo -e "${FRENS[$FREN]}" + echo -e "\e[0m" + done <<<"$(seq 0 "$(( ${#FRENS[@]} - 1 ))")" +elif [[ "$1" ]]; then + echo -e "${FRENS[$1]}" +else + FREN=`seq 0 "$(( ${#FRENS[@]} - 1 ))" | shuf | head -n1` + echo -e "${FRENS[$FREN]}" +fi + +echo -ne "\e[0m" |