sane-wipe: add rofi subcommand

This commit is contained in:
2024-12-06 01:36:03 +00:00
parent eab5cd57d5
commit 2ceda7d298

View File

@@ -8,6 +8,7 @@ help() {
echo " dino: remove auth and data for Dino XMPP messenger" echo " dino: remove auth and data for Dino XMPP messenger"
echo " flare: remove auth and data for flare-signal messenger" echo " flare: remove auth and data for flare-signal messenger"
echo " fractal: remove auth and data for fractal matrix messenger" echo " fractal: remove auth and data for fractal matrix messenger"
echo " rofi: remove rofi .desktop entry cache and force it to recompute entries"
exit 1 exit 1
} }
@@ -67,20 +68,27 @@ wipe_fractal() {
echo "If this does not work, try deleting ~/.local/share/fractal/* in its entirety." echo "If this does not work, try deleting ~/.local/share/fractal/* in its entirety."
} }
wipe_rofi() {
rm -f ~/.cache/rofi/rofi-drun-desktop.cache
}
case "$1" in case "$1" in
browser) (browser)
wipe_browser wipe_browser
;; ;;
dino) (dino)
wipe_dino wipe_dino
;; ;;
flare) (flare)
wipe_flare wipe_flare
;; ;;
fractal) (fractal)
wipe_fractal wipe_fractal
;; ;;
(rofi)
wipe_rofi
;;
*) *)
help help
esac esac