diff --git a/dotfiles/qutebrowser.org b/dotfiles/qutebrowser.org index d6982ef..ee3eaec 100644 --- a/dotfiles/qutebrowser.org +++ b/dotfiles/qutebrowser.org @@ -280,6 +280,11 @@ Add page to Bookmarks using =buku= config.bind(',B', 'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh') #+end_src +Download with =aria2c= +#+begin_src python + config.bind(',d', 'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add.sh {hint-url}') +#+end_src + Open bookmark using =buku= #+begin_src python config.bind(',o', 'spawn ~/.local/bin/bukurun') @@ -537,3 +542,7 @@ Send to Emacs #+begin_src bash :tangle ~/.config/qutebrowser/userscripts/buku-add.sh buku --add $QUTE_URL --title "$QUTE_TITLE" && dunstify "Buku" "📑 Bookmark Added" #+end_src +** Download with aria2c +#+begin_src bash :tangle ~/.config/qutebrowser/userscripts/aria2c-add.sh + aria2p --secret "$(pass aria2c/thomas)" add "$1" +#+end_src