From b30942674403f86460e3d3cd1a66a55def7f36b0 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 16 Nov 2024 11:25:58 +0100 Subject: [PATCH] fix: make script work a little better meow --- modules/home/scripts/scripts/notes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/scripts/scripts/notes.sh b/modules/home/scripts/scripts/notes.sh index e83e231..7d4b3cf 100644 --- a/modules/home/scripts/scripts/notes.sh +++ b/modules/home/scripts/scripts/notes.sh @@ -7,7 +7,7 @@ NOTEDIR="$HOME/Notes" -CHOSEN=$(find "$HOME/Notes" -follow | grep -E '.md$' | bemenu -l 10) +CHOSEN=$(find "$HOME/Notes" -follow | grep -E '.md$' | bemenu -l 10 --ignorecase) cd "$NOTEDIR" || mkdir -p "$NOTEDIR" && cd "$NOTEDIR" || echo 'Error with moving into directory, is "$NOTEDIR" set?' # Change dir to notes dir, if it doesn't exist, create it and try again. Otherwise it should just die, I guess? echo "Check if connected to internet and pull changes from Git"