diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-11-09 18:17:31 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-11-09 18:17:31 +0300 |
commit | e1f418a003287fb07b3c8a984995b8f1f2ba3cd5 (patch) | |
tree | 067fcd385a2b1b39633112bb15807516731bdabb /dotfiles/.local/bin | |
parent | 566a28c29703799410576a03ed474abc5e43423c (diff) | |
download | swayrice-e1f418a003287fb07b3c8a984995b8f1f2ba3cd5.tar.gz swayrice-e1f418a003287fb07b3c8a984995b8f1f2ba3cd5.zip |
Show qutebrowser bookmars in bemenu
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/menuwebsurf | 3 |
1 files changed, 2 insertions, 1 deletions
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" | |