Initial commit
This commit is contained in:
commit
40a190b743
17
jrnl_check.py
Normal file
17
jrnl_check.py
Normal 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
BIN
requirements.txt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user