aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/mimeo/associations.txt1
-rwxr-xr-xdotfiles/.local/bin/menuwebsurf3
2 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/.config/mimeo/associations.txt b/dotfiles/.config/mimeo/associations.txt
index 9e5f577..ea461be 100644
--- a/dotfiles/.config/mimeo/associations.txt
+++ b/dotfiles/.config/mimeo/associations.txt
@@ -12,6 +12,7 @@ imgurl %U
^https?://.*\.jpeg
^https?://.*\.gif
^https?://.*\.bmp
+ ^https?://.*\.webp
bookurl %U
^https?://.*\.pdf
diff --git a/dotfiles/.local/bin/menuwebsurf b/dotfiles/.local/bin/menuwebsurf
index 9e1a7a9..8d63fc8 100755
--- a/dotfiles/.local/bin/menuwebsurf
+++ b/dotfiles/.local/bin/menuwebsurf
@@ -12,10 +12,11 @@ if [ "$1" = "paste" ]; then
prompt="$(wl-paste)"
else
qmarks="$HOME/.config/qutebrowser/quickmarks"
+ bmarks="$HOME/.config/qutebrowser/bookmarks/urls"
hist="$HOME/.local/share/qutebrowser/history.sqlite"
prompt="$(sqlite3 -separator ' ' "$hist" \
'select title, url from CompletionHistory' |
- cat "$qmarks" -)"
+ cat "$qmarks" - | cat "$bmarks" -)"
fi
choice=$(printf "%s" "$prompt" |