|
|
|
@ -311,6 +311,15 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
set-konsole-title ${previous_title} |
|
|
|
set-konsole-title ${previous_title} |
|
|
|
} |
|
|
|
} |
|
|
|
#+end_src |
|
|
|
#+end_src |
|
|
|
|
|
|
|
*** m365 helpers :daily: |
|
|
|
|
|
|
|
This function opens a file in the onedrive shared folder in the |
|
|
|
|
|
|
|
suitable office365 web-app |
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
|
|
|
function m365-open() { |
|
|
|
|
|
|
|
file=$(realpath $1) |
|
|
|
|
|
|
|
xdg-open $(echo $file | sed -e 's+/home/jacopods/onedrive+https://utoronto-my.sharepoint.com/:w:/r/personal/jacopo_desimoi_utoronto_ca/Documents+' -e's+ +%20+g' -e 's+$+?web=1+') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#+end_src |
|
|
|
*** color helpers :daily: |
|
|
|
*** color helpers :daily: |
|
|
|
#+begin_src sh |
|
|
|
#+begin_src sh |
|
|
|
function lunarized-pick() |
|
|
|
function lunarized-pick() |
|
|
|
|