aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-25 11:20:56 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-25 11:20:56 +0000
commit2bd1b861259e9c5fda26fd56b1c32f1ce9185f84 (patch)
tree5525cbd4f6415ac41ab2cea9832871ec33cd948c
parentMerge pdf cropping functions (diff)
parentalfred: add alfred workflow (diff)
downloadpaper2remarkable-2bd1b861259e9c5fda26fd56b1c32f1ce9185f84.tar.gz
paper2remarkable-2bd1b861259e9c5fda26fd56b1c32f1ce9185f84.zip
Merge branch 'sirupsen-alfred'
-rw-r--r--.github/alfred.pngbin0 -> 135792 bytes
-rw-r--r--README.md20
-rw-r--r--Remarkable.alfredworkflowbin0 -> 30549 bytes
3 files changed, 18 insertions, 2 deletions
diff --git a/.github/alfred.png b/.github/alfred.png
new file mode 100644
index 0000000..78a95d9
--- /dev/null
+++ b/.github/alfred.png
Binary files differ
diff --git a/README.md b/README.md
index 18753af..c2b3447 100644
--- a/README.md
+++ b/README.md
@@ -16,8 +16,9 @@ There is also support for transferring an article from a website:
$ p2r https://hbr.org/2019/11/getting-your-team-to-do-more-than-meet-deadlines
```
-The script can be run through the ``p2r`` command line program or via Docker
-(see below).
+The script can be run through the ``p2r`` command line program or via Docker
+(see below). If you're using MacOS, you might be interested in the [Alfred
+workflow](#alfred).
``paper2remarkable`` makes it as easy as possible to get a PDF on your
reMarkable from any of the following sources:
@@ -134,6 +135,21 @@ pip install paper2remarkable
This installs the ``p2r`` command line program.
+## Alfred
+
+Install the [Alfred workflow][workflow], which is [a launcher for
+MacOS](https://www.alfredapp.com/).
+
+Once installed, you can use `rm` command and `rmb` (for the `--blank` pages to
+insert blank pages between pages for notes) with a URL passed. The global
+shortcut `Alt-P` will send the current selection to `p2r`. Note that by default
+`--right` is passed and `p2r` is executed in your `bash` environment. You can
+edit the Workflow in Alfred if this doesn't work for your setup.
+
+![Alfred Screenshot](https://raw.githubusercontent.com/GjjvdBurg/paper2remarkable/master/.github/alfred.png)
+
+[workflow]: https://github.com/GjjvdBurg/paper2remarkable/blob/master/Remarkable.alfredworkflow?raw=true
+
## Docker
You can also use the Dockerfile to avoid installing dependencies on your
diff --git a/Remarkable.alfredworkflow b/Remarkable.alfredworkflow
new file mode 100644
index 0000000..6ad331e
--- /dev/null
+++ b/Remarkable.alfredworkflow
Binary files differ