Compare commits

..

No commits in common. "740fb51f02695d67893f693affa9c5ac61125305" and "26372f06a09e976b40d97d07da91f80611a4b25e" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -161,10 +161,6 @@ config.bind("o", "set-cmd-text -s :open -s ", mode="normal")
config.bind("O", "set-cmd-text -s :open -s -t ", mode="normal")
config.bind("\\", "set-cmd-text -s :open ", mode="normal")
config.bind("|", "set-cmd-text -s :open -t ", mode="normal")
config.bind(";t", "hint links spawn --detach tempbrowser {hint-url}", mode="normal")
config.bind(";n", "hint links spawn --detach newbrowser {hint-url}", mode="normal")
config.bind("gt", "spawn --detach tempbrowser {url}", mode="normal")
config.bind("gn", "spawn --detach newbrowser {url}", mode="normal")
# I don't use bookmarks
config.unbind('wB')

View File

@ -1,8 +1,9 @@
#!/bin/sh
if [ -z "$*" ]; then
exec munsubscribe .
else
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
curl -L -w '%{http_code}' -s -o /dev/null "$url"
for url in $(mshow -qh list-unsubscribe "$@" | grep -o '<http[^>]*>' | sed -e 's/^<//' -e 's/>$//'); do
curl -w '%{http_code}' -s -o /dev/null "$url"
done
fi