Add timestamps to pomodoro timer

This commit is contained in:
Talia 2022-06-02 14:50:37 +02:00
parent 4b59ee8493
commit 1f486a03d3
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ say() {
if [ -n "$DISPLAY" ]; then
notify-send "Pomodoro 🍅" "$1"
fi
echo "🍅 Pomodoro: $1"
printf "%s -- 🍅 Pomodoro: %s\n" "$(date +'%H:%M:%S')" "$1"
}
while true