Skip to content

Commit 13a0772

Browse files
author
Tristán
committed
Added drink water reminder
1 parent 0e24e2f commit 13a0772

File tree

4 files changed

+47
-1
lines changed

4 files changed

+47
-1
lines changed

drink-remider/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Drink-Water-Reminder
2+
<p align="center">
3+
<img src="https://raw.githubusercontent.com/tristanHdez18/Drink-Water-Reminder/main/images/Drink_Water_Reminder_Logo.gif" alt="animated" width="250" height="250" />
4+
</p>
5+
6+
### If you something forget to drink water because you're busy, this application is the best for you!
7+
8+
# Requirements
9+
10+
### You need [plyer](https://github.com/kivy/plyer) and [python3](https://www.python.org/download/releases/3.0/) installed
11+
12+
# Installation
13+
14+
```
15+
git clone https://github.com/tristanHdez18/Drink-Water-Reminder
16+
```
17+
18+
and then you need to put the next command:
19+
20+
For **Windows**:
21+
```
22+
pythonw .\main.py
23+
```
24+
25+
For **Linux**:
26+
```
27+
python3 main.py&
28+
```
29+
30+
# Credits
31+
32+
[Tristan](https://github.com/tristanHdez18).

drink-remider/main.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import time
2+
from plyer import notification
3+
4+
if __name__ == "__main__":
5+
while True:
6+
notification.notify(
7+
title = "Keep in check!",
8+
message = "You need to drink water!\nTake your time"+
9+
" and drink your glass of water\nThe Nation Academies of Sciences, Engineering, and Medicine say:"+
10+
" 'you need drink about 15.5 cups (3.7 liters)'",
11+
app_icon = "../images/glass.ico",
12+
timeout=10
13+
)
14+
time.sleep(60*80)

drink-remider/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
plyer

drink-water-reminder

-1
This file was deleted.

0 commit comments

Comments
 (0)