]> apps.delaporte.us Git - dotfiles.git/blobdiff - files/tab/tasks.py
Fixup async
[dotfiles.git] / files / tab / tasks.py
index e6c9a085485aacdc7f3e33a8986f73570cb9e5ca..034efe279ec474b4f512f857f99c16a7f25e2431 100644 (file)
@@ -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,10 @@ 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')
+