Qutebrowserで履歴からランダム表示
code:sh
sqlite3 .local/share/qutebrowser/history.sqlite 'select url from History' | uniq > urls.txt && python3 randomopen.py
code:randomopen.py
import webbrowser
import random
with open('urls.txt', 'r') as f:
urls = list(f.readlines())
webbrowser.open(random.choice(urls))