]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - files/tab/tasks.py
cedc6755be9f6798bfce4724a15dcc9b9ffb240b
3 # This file is meant to sit in ~ for use from all shells.
4 from invoke
import task
6 from datetime
import datetime
as dt
9 HOME
= os
.path
.expanduser('~')
10 TODAY
= dt
.now().strftime('%Y.%m.%d')
12 KIDS_ALLOWANCE_URL
=os
.environ
.get('KIDS_CASH_URL')
13 PAYROLL
= os
.environ
.get('PAYROLL')
17 c
.run(f
"librewolf {url}", asynchronous
=True)
21 c
.run(f
"codium {path}")
25 c
.run(f
'dolphin {path}', asynchronous
=True)
26 # c.run(f"nemo {path}")
31 result
= c
.run('which minetest')
37 browse(c
, KIDS_ALLOWANCE_URL
)
46 # For copying the latest file in
47 folder(c
, f
"{HOME}/pixel7adocuments")
48 folder(c
, f
"{PAYROLL}/data/payroll_inbox")
53 # For running the payroll scripts
54 c
.run(f
"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter-lab")
60 browse(c
, 'https://app.screego.net/#/')
64 def free_disk_space(c
):
65 c
.run('podman container cleanup --all --rm')
68 SCHOOL
= f
"{HOME}/School"
72 c
.run(f
"cd {SCHOOL};{HOME}/envs/jupyter/bin/jupyter lab")