Switch pomodoro timer to notify-send
This commit is contained in:
parent
b8b5a778f2
commit
08e8d35e45
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue