Add wallabag article quickadd to qutebrowser
Adds :wallabag-add command to qutebrowser to add current page to it as an article. Can optionally use <leader>ra (read-add) for the same functionality.
This commit is contained in:
parent
5970e2f13d
commit
8a31e9024a
2 changed files with 17 additions and 0 deletions
12
.local/share/qutebrowser/userscripts/wallabag_add.sh
Executable file
12
.local/share/qutebrowser/userscripts/wallabag_add.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#! /usr/bin/bash
|
||||
|
||||
# from swalladge:
|
||||
# https://github.com/swalladge/dotfiles/blob/master/local/share/qutebrowser/userscripts/wallabag_add.sh
|
||||
|
||||
# for wallabag v1.*
|
||||
# `-w 0` disables auto line wrapping in base64
|
||||
# echo "open -t https://www.framabag.org/u/swalladge/?action=add&url='`echo -n "$QUTE_URL" | base64 -w 0`'" >> "$QUTE_FIFO"
|
||||
|
||||
|
||||
# v2.*
|
||||
echo "open https://read.martyoeh.me/bookmarklet?url=$QUTE_URL" >> "$QUTE_FIFO"
|
||||
Loading…
Add table
Add a link
Reference in a new issue