aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/bookurl
blob: c97b0398955e5e05bd2503160fb2fc7dc824f750 (plain)
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 &