Plasma: tell baloo to not index not useful folders
This commit is contained in:
parent
7d96e010ed
commit
273bcd9ffd
1 changed files with 15 additions and 0 deletions
|
|
@ -23,6 +23,20 @@ let
|
|||
AccentColor = "172,53,164" ; };
|
||||
};
|
||||
|
||||
balooExcludedDirs = lib.strings.intersperse "," [
|
||||
"$HOME/.cache/"
|
||||
"$HOME/.config/"
|
||||
"$HOME/.local/"
|
||||
];
|
||||
|
||||
baloofilerc = lib.generators.toINI {} {
|
||||
General = {
|
||||
# The [$e] part allows you to use environment variables
|
||||
"exclude folders[$e]" = lib.strings.concatStrings balooExcludedDirs;
|
||||
};
|
||||
};
|
||||
|
||||
# Make custom packages
|
||||
breezeTint = pkgs.stdenv.mkDerivation {
|
||||
name = "breeze-tint";
|
||||
src = "${pkgs.breeze-qt5}";
|
||||
|
|
@ -60,6 +74,7 @@ let
|
|||
set -x
|
||||
mkdir -p $out/etc/xdg
|
||||
echo "${kdeglobals}" > $out/etc/xdg/kdeglobals
|
||||
echo '${baloofilerc}' > $out/etc/xdg/baloofilerc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue