diff --git a/dotfiles/qutebrowser.org b/dotfiles/qutebrowser.org index 0ad2d0e..9134970 100644 --- a/dotfiles/qutebrowser.org +++ b/dotfiles/qutebrowser.org @@ -895,3 +895,23 @@ Cast to Chromecast #+BEGIN_SRC conf config.bind(',c', ':hint links spawn catt cast {hint-url}') #+END_SRC + +Add url to refile.org +#+BEGIN_SRC conf +config.bind(',r', ':spawn --userscript ~/.config/qutebrowser/userscripts/test.sh') +#+END_SRC + +* Userscripts +** TODO Add url to refile.org + :PROPERTIES: + :header-args: :tangle ~/.config/qutebrowser/userscripts/test.sh + :header-args+: :comments both :mkdirp yes + :header-args+: :shebang "#!/usr/bin/env bash" + :END: + +Add the date and time of add to properties. +#+begin_src bash +echo "* TODO $QUTE_TITLE" >> ~/Dropbox/org/refile.org +echo "$QUTE_URL" >> ~/Dropbox/org/refile.org +echo "message-info 'Added to refile.org'" >> "$QUTE_FIFO" +#+end_src