Fixes and stuff

This commit is contained in:
2023-10-10 17:24:29 -04:00
parent b4039c9502
commit 61dbf7829e
4 changed files with 12 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/sh
db=$HOME/.local/share/qutebrowser/history.sqlite
url=$(sqlite3 "$db" "select url, title, atime from History" | tac | awk -F '|' '{print $1}' | rofi -dmenu)
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
[ -z "$url" ] && exit
qutebrowser --target window "$url"