From: Alexander Barton Date: Sat, 15 Mar 2014 13:52:12 +0000 (+0100) Subject: Enhance icalBuddy output X-Git-Url: https://arthur.barton.de/gitweb/?p=ConfigScripts.git;a=commitdiff_plain;h=bc85dd687f594956dd77348696af49e2efee9a41 Enhance icalBuddy output - add list of due tasks - update output format (don't use grep any more) --- diff --git a/sys/profile b/sys/profile index 7a0435c..37af75e 100644 --- a/sys/profile +++ b/sys/profile @@ -164,8 +164,12 @@ if [ $? -eq 0 -a "$UID" -ne 0 ]; then *.UTF*) bul="•"; bul_imp="!"; sep="»"; ;; *) bul="*"; bul_imp="!"; sep=">"; ;; esac - icalBuddy -f -n -npn -nc -b " $BUL " -ps "/ $SEP /" -eep "url,notes" \ - eventsToday+1 2>/dev/null | grep "$BUL" + icalBuddy -f -n -b " $bul " -ab " $bul_imp " -ps "/ $sep /" \ + -nc -npn -iep "title,due" -stda \ + tasksDueBefore:today 2>/dev/null + icalBuddy -f -n -b " $bul " -ab " $bul_imp " -ps "/ $sep /" \ + -nc -npn -iep "title,datetime" \ + eventsToday+1 2>/dev/null [ $? -eq 0 ] && echo unset bul bul_imp sep else