Switch pomodoro timer to notify-send

This commit is contained in:
Talia 2022-06-02 14:08:29 +02:00
parent b8b5a778f2
commit 08e8d35e45
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh
say() {
if [ -n "$DISPLAY" ]; then
notify-send "Pomodoro 🍅" "$1"
fi
echo "🍅 Pomodoro: $1"
}