From c73f8ca31b495fb10be6d51103d50341fe797510 Mon Sep 17 00:00:00 2001 From: Phantop Date: Sat, 8 Feb 2020 19:47:17 -0500 Subject: [PATCH] Qute: archive.is userscript and bind (sa) --- .config/qutebrowser/autoconfig.yml | 1 + .local/share/qutebrowser/userscripts/archive | 3 +++ 2 files changed, 4 insertions(+) create mode 100755 .local/share/qutebrowser/userscripts/archive diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml index d996ea1..c4cc71a 100755 --- a/.config/qutebrowser/autoconfig.yml +++ b/.config/qutebrowser/autoconfig.yml @@ -23,6 +23,7 @@ settings: : close : spawn --userscript readability : tab-close + sa: spawn -u archive sd: spawn -u open_download st: spawn -u switchtor passthrough: diff --git a/.local/share/qutebrowser/userscripts/archive b/.local/share/qutebrowser/userscripts/archive new file mode 100755 index 0000000..ddba388 --- /dev/null +++ b/.local/share/qutebrowser/userscripts/archive @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "open -t https://archive.is/?run=1&url=$QUTE_URL" >> "$QUTE_FIFO"