Created
January 5, 2021 08:36
-
-
Save arjan-s/9a836a7d0c49f9b9ff8e4095c95ed562 to your computer and use it in GitHub Desktop.
qutebrowser start script
This file contains 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
#!/bin/bash | |
qutebrowser | |
wait | |
echo "DELETE FROM cookies WHERE host_key NOT LIKE '%github.com%' AND host_key NOT LIKE '%web.whatsapp.com%';" | sqlite3 ~/.local/share/qutebrowser/webengine/Cookies | |
echo "DELETE FROM History; DELETE FROM CompletionHistory;" | sqlite3 ~/.local/share/qutebrowser/history.sqlite | |
rm ~/.local/share/qutebrowser/cmd-history | |
rm -rf ~/.cache/qutebrowser/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment