fix tofi-drun
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user