From 8f51666265627bcbffa431682ed3f17c99881ec6 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 15 Jul 2022 06:18:33 +0300 Subject: [PATCH] fix aio.sh --- other/aio.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/other/aio.sh b/other/aio.sh index cb03f54..0a4ec9c 100755 --- a/other/aio.sh +++ b/other/aio.sh @@ -2,7 +2,7 @@ IFS=' ' -DIR="$HOME/Dropbox/Приложения/AIO Launcher" +DIR="$HOME/Dropbox/Apps/AIO Launcher" #TASKS_DIR="$DIR/tasks" #NOTES_DIR="$DIR/notes" # Changed in AIO 4.4.2 @@ -11,7 +11,7 @@ NOTES_DIR="$DIR/w.notes" list() { i=0 - for file in $DIR/$1/*; do + for file in $DIR/w.$1/*; do i=$((i+1)) echo -n "[$i] " @@ -28,7 +28,7 @@ show_time() { file=$2 case $dir in - "tasks") + "w.tasks") date=`cat $file | grep '^dueDate' | cut -d ' ' -f 2,3,4` if [ ! -z $date ]; then @@ -37,7 +37,7 @@ show_time() { echo "No time" fi ;; - "notes") + "w.notes") basename $file .txt | cut -d '_' -f 1 | sed 's/-/./g' ;; esac