From 4902f9202f50355503226b321c67bc0ef6a86b0a Mon Sep 17 00:00:00 2001 From: Bhushan Kapkar <49440262+bpkapkar@users.noreply.github.com> Date: Wed, 19 Oct 2022 00:50:11 +0530 Subject: [PATCH 1/2] Blink your eyes script Script added --- Blink_Eyes_Reminder/Blink_Eyes_Reminder.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Blink_Eyes_Reminder/Blink_Eyes_Reminder.py diff --git a/Blink_Eyes_Reminder/Blink_Eyes_Reminder.py b/Blink_Eyes_Reminder/Blink_Eyes_Reminder.py new file mode 100644 index 000000000..97b9502b5 --- /dev/null +++ b/Blink_Eyes_Reminder/Blink_Eyes_Reminder.py @@ -0,0 +1,9 @@ +import time +from plyer import notification +while(True): + notification.notify( + title = "Start Blinking you Eyes", + message = "Blinking nourishes your eye with oxygen and nutrients, keeping your eyes healthy and comfortable", + timeout = 10 + ) + time.sleep(1200) From 068856b27d05d49d2cb5e6d8002fcae06289c444 Mon Sep 17 00:00:00 2001 From: Bhushan Kapkar <49440262+bpkapkar@users.noreply.github.com> Date: Wed, 19 Oct 2022 01:02:32 +0530 Subject: [PATCH 2/2] Readme Detailed instruction added --- Blink_Eyes_Reminder/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Blink_Eyes_Reminder/README.md diff --git a/Blink_Eyes_Reminder/README.md b/Blink_Eyes_Reminder/README.md new file mode 100644 index 000000000..1c5d64bb7 --- /dev/null +++ b/Blink_Eyes_Reminder/README.md @@ -0,0 +1,27 @@ +# Blink Eyes Reminder + +We can remind user every 20 minutes during he is working on laptop or PC using notfication + +## Setup instructions + +Make sure that you have plyer package installed for this. If not you can do it by + +pip install plyer + +We will launch this script at start of the PC by making batch or exe file. + +## Detailed explanation of script, if needed + +We have added the infinte while loop, unless its manually interupted it will keep on runnning and notify user every 20 min. + +## Output + +User will get notfication on laptop or PC + +## Author(s) + +Bhushan K + +## Disclaimers, if any + +NA