From 08e8d35e457c0aebba4b687d2c8b4976d5b6287d Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 2 Jun 2022 14:08:29 +0200 Subject: [PATCH] Switch pomodoro timer to notify-send --- bin/pomodoro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/pomodoro b/bin/pomodoro index 5576f5e..c6f498c 100755 --- a/bin/pomodoro +++ b/bin/pomodoro @@ -1,6 +1,9 @@ #!/bin/sh say() { + if [ -n "$DISPLAY" ]; then + notify-send "Pomodoro 🍅" "$1" + fi echo "🍅 Pomodoro: $1" }