✨ Many changes...
This commit is contained in:
parent
5f9bd1cd3a
commit
a20d06652a
3 changed files with 11 additions and 7 deletions
|
|
@ -9,9 +9,5 @@ from time import sleep
|
|||
parser = ArgumentParser()
|
||||
parser.add_argument("time", type=int)
|
||||
args = parser.parse_args()
|
||||
print(f"Starting timer of {args.time} seconds")
|
||||
for _ in range(args.time):
|
||||
print(".", end="", flush=True)
|
||||
sleep(1)
|
||||
# print("Done!")
|
||||
subprocess.call(["notify-send", "Done!"])
|
||||
sleep(args.time)
|
||||
subprocess.call(["notify-send", "Time's Up!!",])
|
||||
Loading…
Add table
Add a link
Reference in a new issue