feat(eww -> timer): Re-added user notifications
This commit is contained in:
parent
8315f641fa
commit
07cf5d3d95
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ start_timer() {
|
||||||
i=$(( i - 1 ))
|
i=$(( i - 1 ))
|
||||||
done
|
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"
|
start_timer "$timer_type"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue