aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timebomb.py6
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():
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa