From 440d703bef79592c26902bf7dbe260a3eaff4fb7 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Mon, 19 Jan 2026 12:26:05 -0600 Subject: [PATCH] Fixup --- files/tab/tasks.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/files/tab/tasks.py b/files/tab/tasks.py index cedc675..f1e6339 100644 --- a/files/tab/tasks.py +++ b/files/tab/tasks.py @@ -1,5 +1,3 @@ - - # This file is meant to sit in ~ for use from all shells. from invoke import task @@ -12,6 +10,8 @@ TODAY = dt.now().strftime('%Y.%m.%d') KIDS_ALLOWANCE_URL=os.environ.get('KIDS_CASH_URL') PAYROLL = os.environ.get('PAYROLL') +def term(c, path): + c.run(f'konsole --workdir {path}') def browse(c, url): c.run(f"librewolf {url}", asynchronous=True) @@ -69,6 +69,7 @@ SCHOOL = f"{HOME}/School" @task def assign_school(c): - c.run(f"cd {SCHOOL};{HOME}/envs/jupyter/bin/jupyter lab") + term(c, f'{SCHOOL}') + # c.run(f"cd {SCHOOL};{HOME}/envs/jupyter/bin/jupyter lab", asynchronous=True) -- 2.47.3