From f3955f58de8407455ba2b958b27c5008c6cce553 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 21 Jun 2022 12:58:28 +0300 Subject: [PATCH] scripts: increase search list size --- scripts/him.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/him.sh b/scripts/him.sh index 6418eac..e348297 100755 --- a/scripts/him.sh +++ b/scripts/him.sh @@ -16,7 +16,7 @@ case $1 in a=0 for acc in $(NO_COLOR=1 $bin accounts | grep imap | awk '{ print $1 }') do - a=$((a+$($bin -a "$acc" search unseen | grep '✷' | wc -l))) + a=$((a+$($bin -a "$acc" search unseen -s 200 | grep '✷' | wc -l))) done echo $a ;; @@ -31,7 +31,7 @@ case $1 in ;; "mark-read") - for id in $(NO_COLOR=1 $bin -a $2 search unseen | grep '✷'| awk '{ print $1 }') + for id in $(NO_COLOR=1 $bin -a $2 search unseen -s 200 | grep '✷'| awk '{ print $1 }') do $bin -a $2 flag add $id seen done