From 0c67fd746daace693d2392f594cd55df1d1f1934 Mon Sep 17 00:00:00 2001 From: notkoutsie Date: Sun, 13 Aug 2023 03:43:31 +0300 Subject: [PATCH] HOLY HSHIT CANI STOP --- noter.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/noter.sh b/noter.sh index f452ec2..9c4cc4f 100755 --- a/noter.sh +++ b/noter.sh @@ -13,21 +13,21 @@ if [ ! -d "notes" ]; then fi checksetting() { - # Use this function to check for a setting without repetition - # Eg: - # checksetting "yourmom" "$isyourmom" - if [ "$2" = true ]; then - echo "$1" >>"$output_file" - fi + # Use this function to check for a setting without repetition + # Eg: + # checksetting "yourmom" "$isyourmom" + if [ "$2" = true ]; then + echo "$1" >>"$output_file" + fi } givefavicon() { - local file_path="$1" - - if [ -f "$file_path" ]; then - local base64_data="$(base64 -w 0 "$file_path")" - echo "data:image/png;base64,$base64_data" - fi + local file_path="$1" + + if [ -f "$file_path" ]; then + local base64_data="$(base64 -w 0 "$file_path")" + echo "data:image/png;base64,$base64_data" + fi } generate_note_html() {