Add Download script with aria2 on qutebrowser
This commit is contained in:
parent
a631912084
commit
4e7a44f10e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user