commit 97d9b8810814dfc50b08dc67b21d28cc730a4dba parent d283eb8307374fef02ebee69cbc3ccc55e761735 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 9 Sep 2019 09:58:56 +0200 Fetch and open images and pdfs directly Diffstat:
M | .local/bin/linkhandler | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -17,7 +17,7 @@ for url in "$@"; do *smbc-comics.com*|*xkcd.com*|*jspowerhour.com*) action="comic" ;; *) - action="$(printf "open\nopen (tbb)\nxclip\nbookmark\ncurl\nhtml to pdf\nsci-hub\nadd bibref\nmpv\nyoutube-dl\nyoutube-dl-music" | \ + action="$(printf "open\nopen (tbb)\nxclip\nbookmark\ncurl\nhtml to pdf\nsci-hub\nadd bibref\nmpv\nxdg-open\nyoutube-dl\nyoutube-dl-music" | \ dmenu_themed -i -p "action:")";; esac