Last active
October 12, 2020 16:07
-
-
Save emad-elsaid/13061b6bd5f09c45437ff3fa32324135 to your computer and use it in GitHub Desktop.
This will read your google chrome local history database and offer you fuzzy search with dmenu to open one of them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cp ~/.config/google-chrome/Default/History /tmp/History | |
sqlite3 /tmp/History "select url, title from urls;" \ | |
| dmenu -i -l 20 -fn "Source Code Pro:regular:size=16" \ | |
| awk 'BEGIN { FS = "|" } ; { print $1 }' \ | |
| xargs xdg-open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment