Loading
nixos/plasma6: check `$XDG_CACHE_HOME` before `$HOME/.cache` for ksycoca cache wipe
The previous implementation breaks if `$XDG_CACHE_HOME` is set to anything other than what is expected, since KDE will now write the cache there instead. Some users set `$XDG_CACHE_HOME` to something like `$HOME/.local/cache` to de-clutter `$HOME`. In such case, the cache won't be found and removed, which will cause the KDE runner to not be able to launch anything. It will now work regardless.