This commit is contained in:
Lucy Hochkamp 2025-11-21 13:32:44 +01:00
parent 2614910b6f
commit 4667974392
13 changed files with 313 additions and 415 deletions

View file

@ -24,13 +24,14 @@ let
UNTIL="1d"
EVENT="$(
khal list "$SINCE" "$UNTIL" \
(khal list "$SINCE" "$UNTIL" \
--day-format 'SKIPME' \
--format "{start-end-time-style} {title:.31}{repeat-symbol}" |
grep -v SKIPME | # filter out headers
grep -v -P '| |' | # filter out continuing all day events
grep -v '^ ' | # exclude full-day events
head -n 1 # show just the first
) || echo ""
)"
if [ -z "$EVENT" ]; then