X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/77957633b363763b9cca28114dbbdd706a0749be..b426735fbdbe45dedff9a38987c5e541bd29b4c7:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 42ede74..dc28db1 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -31,7 +31,8 @@ def browse(c, url): def code(c, path): - c.run(f"codium {path}", asynchronous=True) + # c.run(f"codium {path}", asynchronous=True) + c.run(f"vi {path}", pty=True) def folder(c, path): @@ -59,6 +60,7 @@ def vasl(c): '''Submit time off''' browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp") browse(c, "https://outlook.office.com/calendar/view/week") + print('Ctrl+G to repeat a search in FF') @task(vasl) @@ -66,8 +68,9 @@ def timesheets(c): '''Reconcile time off between reporting systems''' browse(c, "https://outlook.office.com/calendar/view/month") code(c, f"{HOME}/src/Learn_RobotFramework_IllinoisPTR") + browse(c, "http://go.illinois.edu/techservtimeentry") -@task(journal) +@task() def daily(c): '''Open daily reminders file for this month''' code(c, f'{JOURNAL}/{MONTH}-daily.md')