Many changes...

This commit is contained in:
z3rOR0ne 2022-07-27 05:09:14 -07:00
parent 5f9bd1cd3a
commit a20d06652a
3 changed files with 11 additions and 7 deletions

View file

@ -1,17 +0,0 @@
#!/bin/python
# https://realpython.com/python-subprocess/
import subprocess
from argparse import ArgumentParser
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!"])