]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - files/tab/tasks.py
Add reminders
[dotfiles.git] / files / tab / tasks.py
index 52731da3b98ee3be8ab3aa009492726a7a731ca0..53e4cbd42ab4bff7867614e9d15d9c8b920889d1 100644 (file)
@@ -11,7 +11,7 @@ KIDS_ALLOWANCE_URL=os.environ.get('KIDS_CASH_URL')
 PAYROLL = os.environ.get('PAYROLL')
 
 def term(c, path):
-    c.run(f'konsole --separate --workdir {path}')
+    c.run(f'konsole --separate --workdir {path}', asynchronous=True)
 
 def browse(c, url):
     c.run(f"librewolf {url}", asynchronous=True)
@@ -41,7 +41,7 @@ def allowance(c):
 @task
 def payroll(c):
 
-    allowance()
+    allowance(c)
 
     # For copying the latest file in
     folder(c, f"{HOME}/pixel7adocuments")
@@ -50,6 +50,11 @@ def payroll(c):
     # 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")
 
@@ -89,6 +94,7 @@ def assign_school(c):
 
 @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')