Switch pomodoro timer to notify-send

This commit is contained in:
Talia 2022-06-02 14:08:29 +02:00
parent b8b5a778f2
commit 08e8d35e45

View file

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