SCHOOL = f"{HOME}/School"
PAYROLL = f"{HOME}/Nanny.Payroll"
+
+
+
def browse(c, url):
c.run(f"librefox {url}", asynchronous=True)
def folder(c, path):
c.run(f"nemo {path}")
+@task
+def go(c, bookmark):
+ var = f'URL_{bookmark.upper()}'
+ url = os.environ.get(var)
+ browse(c, url)
+
+@task
+def cloud_panel(c):
+ go(c, 'cloud')
@task
def debug(c):
browse(c, CU_URL)
+@task
+def get_drive_info(c):
+ # List non-squash, non-tmp drives.
+ c.run('df -x squashfs -x tmpfs')
+ c.run('ls /dev/disk/by-label')
+
+