From 2dd984eb80bff1a6828a197e9d225c4676e1d432 Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Sun, 23 Feb 2020 14:08:52 -0500 Subject: alfred: add alfred workflow --- .github/alfred.png | Bin 0 -> 135792 bytes README.md | 20 ++++++++++++++++++-- Remarkable.alfredworkflow | Bin 0 -> 30549 bytes 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/alfred.png create mode 100644 Remarkable.alfredworkflow diff --git a/.github/alfred.png b/.github/alfred.png new file mode 100644 index 0000000..78a95d9 Binary files /dev/null and b/.github/alfred.png 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 Binary files /dev/null and b/Remarkable.alfredworkflow differ -- cgit v1.2.3