X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/2dab8236a1f3c719b54417a3e1b462e755bba9f0..44b7848112bb32dd9b066ed640828ee7ca27bfeb:/files/tab/tasks.py diff --git a/files/tab/tasks.py b/files/tab/tasks.py index e6c9a08..105e59e 100644 --- a/files/tab/tasks.py +++ b/files/tab/tasks.py @@ -12,7 +12,7 @@ TODAY = dt.now().strftime('%Y.%m.%d') KIDS_ALLOWANCE_URL=os.environ.get('KIDS_ALLOWANCE_URL') def browse(c, url): - c.run(f"librefox {url}") + c.run(f"librefox {url}", asynchronous=True) def code(c, path): @@ -49,3 +49,22 @@ def payroll(c): # For running the payroll scripts c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter lab") + +@task() +def screenshare(c): + + browse(c, 'https://app.screego.net/#/') + c.run('dino') + +@task() +def free_disk_space(c): + c.run('podman container cleanup --all --rm') + + +SCHOOL = f"{HOME}/School" + +@task +def assign_school(c): + c.run(f"cd {SCHOOL};{HOME}/envs/jupyter/bin/jupyter lab") + +