Small changes

This commit is contained in:
2025-11-16 22:30:59 +00:00
parent 93be55b00a
commit 7337d56786
7 changed files with 24 additions and 23 deletions

View File

@@ -13,9 +13,7 @@ if (len(argv) > 1):
if (len(argv) > 2):
name = argv[2]
duration *= 3600
print("Starting alarm '%s'" % name, "of duration %ds" % duration)
run(["notify-send", f"Starting alarm {name}, duration of {duration}s"])
current = time()
end = current + duration