KIDS_ALLOWANCE_URL=os.environ.get('KIDS_CASH_URL')
PAYROLL = os.environ.get('PAYROLL')
+BUDGET_URL = os.environ.get('BUDGET_URL')
+CU_URL = os.environ.get('CU_URL')
def term(c, path):
- c.run(f'konsole --workdir {path}')
+ c.run(f'konsole --separate --workdir {path}', asynchronous=True)
def browse(c, url):
c.run(f"librewolf {url}", asynchronous=True)
@task
def payroll(c):
- allowance()
+ allowance(c)
# For copying the latest file in
folder(c, f"{HOME}/pixel7adocuments")
# For editing files
code(c, f"{PAYROLL}")
+ payroll_jupyter(c)
+
+@task
+def payroll_jupyter(c):
+
# For running the payroll scripts
c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter-lab")
# c.run(f"cd {SCHOOL};{HOME}/envs/jupyter/bin/jupyter lab", asynchronous=True)
+@task
+def mod_luanti(c):
+ print("https://rubenwardy.com/minetest_modding_book/en/quality/luacheck.html")
+ term(c, f'{HOME}/.var/app/net.minetest.Minetest/.minetest')
+
+
+@task
+def budget(c):
+ browse(c, BUDGET_URL)
+ browse(c, CU_URL)
+