diff --git a/background.js b/background.js index b891724..0cbef91 100644 --- a/background.js +++ b/background.js @@ -73,12 +73,7 @@ function formatTime(time) { // Function to notify break time function notifyBreakTime() { - chrome.notifications.create("breakTimeNotification", { - type: "basic", - iconUrl: "images/hourglass.png", - title: "Take a break!", - message: "It's time to take a break. Look at something 20 feet away for 20 seconds." - }); + chrome.runtime.sendMessage({ type: "breakTimeNotification"}); } // Function to start short break timer diff --git a/options.html b/options.html index 95fd0e5..9a6de51 100644 --- a/options.html +++ b/options.html @@ -17,7 +17,17 @@
Press the desired key combination and click Save.
+Set a custom alert message for yourself as a reminder
+