added missing link

This commit is contained in:
donatien
2024-08-02 13:20:34 +02:00
parent 258784720d
commit 1365f4f79b
2 changed files with 16 additions and 3 deletions
+4 -2
View File
@@ -16,10 +16,12 @@ Video Showcase/Tutorial: https://www.youtube.com/watch?v=aQ44CafqcH0&feature=you
# Overview
**[Normal](#normal)**\
**[Normal](#normal)**
[acenoster fetch](#acenoster-fetch), [Bejkon](#bejkon), [Bejkon 2](#bejkon-2), [Boxes](#boxes), [Eldfetch](#eldfetch), [idlifetch](#idlifetch), [insert name](#insert-name), [insert name 2 electric boogaloo](#insert-name-2-electric-boogaloo), [Kenielf](#kenielf), [Mixedfetch](#mixedfetch), [Onre's Fetch](#onres-fetch), [ozozFetch](#ozozfetch), [ozozPredatorFetch](#ozozpredatorfetch), [papirus](#papirus), [Remfetch](#remfetch), [Talljoe's Fetch](#talljoes-fetch), [troutfetch](#troutfetch), [tuxNature](#tuxnature)
**[Small](#small)**\
**[Small](#small)**
[af++](#af), [AxylFetch](#axylfetch), [AxylFetch EndeavourOS](#axylfetch-endeavouros), [Dotfetch](#dotfetch), [Blockfetch](#blockfetch), [BMOfetch](#bmofetch), [MinecraftFetch](#minecraftfetch), [ozozFetch](#ozozfetch), [ozozFetch_v2](#ozozfetch_v2), [PenguinFetch](#penguinfetch), [SimpleFetch](#simplefetch), [Smallfetch](#smallfetch)
+12 -1
View File
@@ -48,6 +48,8 @@ replace_string_in_file() {
# Function to print the help message
print_help() {
echo
echo "original: https://github.com/donatienLeray/bmofetch"
echo
echo -e "\u001b[1mSYNOPSIS:"
echo -e " sh $0 [options] <argument>\u001b[0m"
@@ -55,7 +57,8 @@ print_help() {
echo -e "\u001b[1mDESCRIPTION:\u001b[0m"
echo " This script enables you to change the text BMO says when using neofetch with the bmofetch.conf file."
echo " You can specify a new string for BMO to say, or get a random line from a file."
echo " you can find the complete neofetch-themes repository at https://github.com/donatienLeray"
echo " you can find the complete neofetch-themes repository at:"
echo " https://github.com/Chick2D/neofetch-themes/blob/main/small/bmofetch/"
echo
echo -e "\u001b[1mOPTIONS:\u001b[0m"
echo " -v, --verbose Enable verbose mode.(prints debug messages)"
@@ -117,6 +120,14 @@ fi
# Clean up multiple and leading or trailing spaces
input=$(echo "$input" | tr -s ' '| sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
# Check that input contains NO line breaks or carriage returns
if [[ $input == *'\n'* ]] || [[ $input == *'\r'* ]]; then
if [[ "$QUIET" = false ]]; then
echo -e "\033[31mError: The input string cannot contain line breaks or carriage returns.\033[39m" >&2
fi
exit 1
fi
# Get the inner size of the speach bubble
bub_len=$((${#input}+2))