You have been installing themes and other things in $XDG_CONFIG_HOME directory like ROFI_DIR="$HOME/.config/rofi" (in .config), but fonts installed in .local/shares/fonts. I think that should be improved because this path is obsolete now for many applications, even fc-cache prefers $XDG_DATA_HOME (@see /etc/fonts/fonts.conf for more information).
Also, I added -r, --really-force erase all existing caches, then rescan argument, to verify the cache to be cleaned.
You have been installing themes and other things in
$XDG_CONFIG_HOME
directory likeROFI_DIR="$HOME/.config/rofi"
(in.config
), but fonts installed in.local/shares/fonts
. I think that should be improved because this path is obsolete now for many applications, evenfc-cache
prefers$XDG_DATA_HOME
(@see/etc/fonts/fonts.conf
for more information).Also, I added
-r, --really-force erase all existing caches, then rescan
argument, to verify the cache to be cleaned.