#!/bin/bash echo XDG-OPEN args: > ~/last-xdg-open-call echo $@ >> ~/last-xdg-open-call exec /usr/bin/xdg-open "$@"