#!/usr/bin/env bash

set -o errexit
set -o nounset

URL=$(osascript -e 'tell application "Safari" to get URL of document 1')
~/.cargo/bin/clean-url "$URL"
