programs: sane-wipe browser: also clear epiphany artifacts

This commit is contained in:
Colin 2024-02-05 16:31:19 +00:00
parent 413903d03c
commit 8052f62796

View File

@ -13,20 +13,23 @@ help() {
wipe_browser() {
# remove firefox/librewolf/chromium artifacts
# remove chromium/epiphany/firefox/librewolf artifacts
rm -rf \
~/.cache/BraveSoftware/* \
~/.cache/chromium \
~/.cache/epiphany/* \
~/.cache/librewolf/* \
~/.cache/mozilla/firefox/* \
~/.config/BraveSoftware/* \
~/.config/chromium \
~/.librewolf/default/* \
~/.local/share/epiphany/* \
~/.mozilla/* \
|| true # in case no matches
# browsers like to stick around in the background so they can load faster
sudo pkill brave || true
sudo pkill epiphany || true
sudo pkill firefox || true
sudo pkill librewolf || true
}