X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/6bfc38e823c225e897b92fa3ebc041e5f5598195..769e67409aa4dce2ee546aae5fb2078eb3cbfd04:/files/ts/tasks.py?ds=sidebyside diff --git a/files/ts/tasks.py b/files/ts/tasks.py index de5172e..e7990e7 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) @@ -68,7 +70,7 @@ def timesheets(c): 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') @@ -80,11 +82,14 @@ def in_progress(c): '''Show in progress items on the Kan-Ban board''' browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11') +@task +def epics(c): + browse(c, EPICS) + -@task(daily, in_progress) +@task(daily, in_progress, epics) def status(c): '''Check on status of priorities''' - browse(c, EPICS) dash(c) pass