Skip to content

Desktop Notification Script #831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dekstop_Notification/Drink_Water_Notification.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import time
from plyer import notification

if __name__ == "__main__":
while True:
notification.notify(
title = "Please Drink Water",
message = "The National Academies of Sciences, Engineering, and Medicine determined that an adequate daily fluid intake is: About 15.5 cups (3.7 liters) of fluids for men. About 11.5 cups (2.7 liters) of fluids a day for women.",
app_name = "Drink_Water_Notification",
app_icon = "D:\\Abdul Rehman\\AI Automations\\Dekstop_Notification\\Icon.ico",
timeout = 10)
#Time to After which you want the Notfication in Sec
time.sleep(5)
Binary file added Dekstop_Notification/Icon.ico
Binary file not shown.