Skip to content

Commit a0d1830

Browse files
authored
Add files via upload
1 parent 22e1b6a commit a0d1830

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

rest.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
from plyer import notification
3+
import time
4+
5+
if __name__ == '__main__':
6+
while True:
7+
notification.notify(
8+
title="*** Take Rest ***",
9+
message="The main purpose of taking rest is to let your body recover.",
10+
app_icon="/home/akash/Downloads/favicon_io/favicon.ico", # use actual .ico or .png
11+
timeout=5
12+
)
13+
time.sleep(10) # wait 10 seconds before showing again

0 commit comments

Comments
 (0)