diff --git a/bar/eww/scripts/timer b/bar/eww/scripts/timer index e0ca61d..d4ff698 100755 --- a/bar/eww/scripts/timer +++ b/bar/eww/scripts/timer @@ -36,6 +36,13 @@ start_timer() { i=$(( i - 1 )) done + # Notify user + if [ "$timer_type" = "pause" ]; then + notify-send -c grind-timer -i ~/Images/Icons/moai.jpg "Work period over" "You can take a little nap now." + elif [ "$timer_type" = "work" ]; then + notify-send -c grind-timer -i ~/Images/Icons/moai.jpg "Pause period over" "Back to grinding we go." + fi + start_timer "$timer_type" }