aboutsummaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts')
-rwxr-xr-xScripts/.local/scripts/web-pdf7
1 files changed, 7 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/web-pdf b/Scripts/.local/scripts/web-pdf
new file mode 100755
index 0000000..624dd3c
--- /dev/null
+++ b/Scripts/.local/scripts/web-pdf
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+name="$(echo $1 | awk -F/ '{print $NF}')"
+
+curl $1 -o /tmp/$name;
+mupdf /tmp/$name;
+rm /tmp/$name;