1 2 3 4 5 6 7
#!/bin/sh [ -z "$1" ] && exit setsid curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && zathura "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 &