Initial commit

This commit is contained in:
Alexander Hosking 2022-08-20 01:40:59 -04:00
commit 40a190b743
2 changed files with 17 additions and 0 deletions

17
jrnl_check.py Normal file
View File

@ -0,0 +1,17 @@
from notifypy import Notify
from os import path
LOGO = "C:/Users/ahosking/OneDrive/Pictures/logos/apple-logo.gif"
JRNL_FILE = 'C:/Users/ahosking/Nextcloud/journals/work.txt'
notification = Notify()
notification.title = "Alex's Test Notifications"
notification.icon = LOGO
if path.exists(JRNL_FILE):
print("Journal Exists!")
notification.message = "The journal file exists!"
notification.send()
else:
notification.message = "There is no journal, where are you writing?!"
notification.send()

BIN
requirements.txt Normal file

Binary file not shown.