feat(eww -> timer): Re-added user notifications

This commit is contained in:
GaspardCulis 2024-10-07 13:45:05 +02:00
parent 8315f641fa
commit 07cf5d3d95

View file

@ -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"
}