fix tofi-drun

This commit is contained in:
2025-11-03 21:34:29 -06:00
parent 4d38c79dfa
commit e54f91bcd9
3 changed files with 14 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ in {
cursor = { cursor = {
package = pkgs.posy-cursors; package = pkgs.posy-cursors;
name = "Posy_Cursor_Black"; name = "Posy_Cursor_Black";
size = 128; size = 48;
}; };
fonts = { fonts = {
sizes = { sizes = {

View File

@@ -36,5 +36,17 @@ in {
padding-right = 0; padding-right = 0;
}; };
}; };
# this clears the tofi-drun cache on every rebuild
# if this isn't present then new programs will not
# appear in the list when using as app launcher
home.activation = {
# https://github.com/philj56/tofi/issues/115#issuecomment-1701748297
regenerateTofiCache = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
tofi_cache=${config.xdg.cacheHome}/tofi-drun
[[ -f "$tofi_cache" ]] && rm "$tofi_cache"
'';
};
}; };
} }