diff options
-rw-r--r-- | timebomb.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/timebomb.py b/timebomb.py index 0be3663..19983b2 100644 --- a/timebomb.py +++ b/timebomb.py @@ -4,15 +4,17 @@ # 2020-02-08 # OM -from tkinter import * +from tkinter import Tk from tkinter import messagebox from tkinter import Canvas +#from tkinter import font as tkFont import argparse import time import shutil import notify2 root = Tk() +root.option_add('*Dialog.msg.font', 'Helvetica 12') def message(m, s): screen_width = root.winfo_screenwidth() @@ -31,7 +33,7 @@ def message(m, s): c = Canvas(root, bg = "darkred", \ width = screen_width, height = screen_height) c.pack() - messagebox.showwarning(msg) + messagebox.showwarning(title='ALARM', message=msg) #root.mainloop() def main(): |