fix tofi-drun
This commit is contained in:
@@ -119,7 +119,7 @@ in {
|
||||
# programs
|
||||
"$mainMod, Return, exec, kitty"
|
||||
"$mainMod, E, exec, kitty lf"
|
||||
"$mainMod, R, exec, tofi-drun --drun-launch=true --prompt-text=\"launch:\""
|
||||
"$mainMod, R, exec, tofi-drun --drun-launch=true --prompt-text=\"launch: \""
|
||||
"$mainMod, B, exec, librewolf"
|
||||
"$mainMod, G, exec, lutris"
|
||||
"$mainMod, M, exec, thunderbird"
|
||||
|
||||
@@ -25,7 +25,7 @@ in {
|
||||
cursor = {
|
||||
package = pkgs.posy-cursors;
|
||||
name = "Posy_Cursor_Black";
|
||||
size = 128;
|
||||
size = 48;
|
||||
};
|
||||
fonts = {
|
||||
sizes = {
|
||||
|
||||
@@ -36,5 +36,17 @@ in {
|
||||
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