now="$(expr 60 \* $(date +%H) + $(date +%M))"
-if ! today --category='holiday' | grep '' >/dev/null; then
today --category='school' | sed -e s/^..........// -e 's/ \[.*\]$//'|grep '[0-9][0-9]:[0-9][0-9]-[0-9][0-9]:[0-9][0-9]'| \
while read times event; do
begin="$(expr 60 \* $(echo $times|sed -e 's/-.*//' -e 's/:/ + /g'))"
echo "old_smart=\"$old_away\"" > "$HOME/.away-smart"
fi
done
-fi
today --category='!school' | sed -e s/^..........//|grep '[0-9][0-9]:[0-9][0-9]-[0-9][0-9]:[0-9][0-9]'| \
while read times event; do