From 34af8540136aeba630ee3eb7cd8dfb749d734548 Mon Sep 17 00:00:00 2001 From: Phantop Date: Mon, 16 Mar 2020 13:43:24 -0400 Subject: [PATCH] Fish: dir,pagedl; Qute: open better, switchwatch --- .config/fish/functions/dirdl.fish | 3 ++- .config/fish/functions/pagedl.fish | 4 ++++ .config/qutebrowser/autoconfig.yml | 4 +++- .local/share/qutebrowser/userscripts/webrecord | 3 --- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .config/fish/functions/pagedl.fish delete mode 100755 .local/share/qutebrowser/userscripts/webrecord diff --git a/.config/fish/functions/dirdl.fish b/.config/fish/functions/dirdl.fish index e3498f3..e8dfbc4 100644 --- a/.config/fish/functions/dirdl.fish +++ b/.config/fish/functions/dirdl.fish @@ -1,3 +1,4 @@ +# Defined in /tmp/fish.yHuNyE/dirdl.fish @ line 2 function dirdl - wget -r --no-parent $argv + wget -r -k -p --no-parent --no-clobber -e robots=off $argv end diff --git a/.config/fish/functions/pagedl.fish b/.config/fish/functions/pagedl.fish new file mode 100644 index 0000000..3a837cc --- /dev/null +++ b/.config/fish/functions/pagedl.fish @@ -0,0 +1,4 @@ +# Defined in /tmp/fish.QZ1PN5/pagedl.fish @ line 2 +function pagedl + wget -H -k -p --no-clobber -e robots=off $argv +end diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml index 31fc9e8..e69a14a 100755 --- a/.config/qutebrowser/autoconfig.yml +++ b/.config/qutebrowser/autoconfig.yml @@ -25,9 +25,11 @@ settings: : tab-close sa: spawn -u archive sd: spawn -u open_download + sq: session-load acnh st: spawn -u switchtor - sw: spawn -u webrecord + sw: open https://webrecorder.io/record/{url} sx: spawn -u nitterize + ws: open shorten {url} passthrough: exit: leave-mode : null diff --git a/.local/share/qutebrowser/userscripts/webrecord b/.local/share/qutebrowser/userscripts/webrecord deleted file mode 100755 index 98afd7f..0000000 --- a/.local/share/qutebrowser/userscripts/webrecord +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo "open https://webrecorder.io/record/$QUTE_URL" >> "$QUTE_FIFO"