summaryrefslogtreecommitdiff
path: root/util/track-parcel
diff options
context:
space:
mode:
authorGeorge Abbott <george@gabbott.dev>2023-10-31 17:54:07 +0000
committerGeorge Abbott <george@gabbott.dev>2023-10-31 17:54:07 +0000
commit4d0bd914e7c1ee65f4036e60149a7b891906a5d3 (patch)
treec2a6751823e064e003cd4f6166df07bfc106d7eb /util/track-parcel
Commit all to date.
Diffstat (limited to 'util/track-parcel')
-rwxr-xr-xutil/track-parcel7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/track-parcel b/util/track-parcel
new file mode 100755
index 0000000..f298e9b
--- /dev/null
+++ b/util/track-parcel
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Given a tracking reference either as first argument or piped in,
+# open in $BROWSER, or xdg-open, the tracking site for that reference.
+
+# TODO: actually finish implementing.
+xdg-open "https://www.evri.com/track/parcel/$1/details"
+xdg-open "https://www.royalmail.com/track-your-item#/tracking-results/$1"