Last active
March 7, 2023 09:13
-
-
Save bitbutter/7a3755b1faea3c841d5d760bf0bb8b1d to your computer and use it in GitHub Desktop.
Espanso trigger for importing kindle highlights from connected device to Tana. Append this trigger to the file at [username]/AppData/Roaming/espanso/match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# append this to [username]/AppData/Roaming/espanso/match | |
- trigger: kindle_import_book_from_clippings | |
replace: "{{output}}" | |
vars: | |
- name: booktitles | |
type: script | |
params: | |
args: | |
- python | |
- "%CONFIG%/scripts/kindle_get_book_titles_from_clippings.py" | |
- name: form1 | |
type: form | |
params: | |
layout: | | |
Select file: | |
[[booktitle]] | |
fields: | |
booktitle: | |
type: list | |
values: "{{booktitles}}" | |
- name: booktitle | |
type: echo | |
params: | |
echo: "{{form1.booktitle}}" | |
- name: output | |
type: script | |
params: | |
args: | |
- python | |
- "%CONFIG%/scripts/kindle_tana_paste_from_book_name.py" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment