commit 40a190b7433181bc3aad435423cea3d4fa6ff3ad Author: Alexander Hosking Date: Sat Aug 20 01:40:59 2022 -0400 Initial commit diff --git a/jrnl_check.py b/jrnl_check.py new file mode 100644 index 0000000..a07ed1d --- /dev/null +++ b/jrnl_check.py @@ -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() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6e27f80 Binary files /dev/null and b/requirements.txt differ