c1c601da96
Thanks to the nix rewrite of the config
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.anyrun.homeManagerModules.anyrun # Import the anyrun home-manager module
|
|
];
|
|
|
|
programs.anyrun = {
|
|
enable = true;
|
|
config = {
|
|
plugins = [
|
|
inputs.anyrun.packages.${pkgs.system}.applications
|
|
inputs.anyrun.packages.${pkgs.system}.symbols
|
|
inputs.anyrun.packages.${pkgs.system}.websearch
|
|
inputs.anyrun.packages.${pkgs.system}.rink
|
|
inputs.anyrun.packages.${pkgs.system}.shell
|
|
inputs.anixrun.packages.${pkgs.system}.default
|
|
];
|
|
x = {fraction = 0.5;};
|
|
y = {fraction = 0.3;};
|
|
width = {fraction = 0.3;};
|
|
hideIcons = false;
|
|
ignoreExclusiveZones = false;
|
|
layer = "top";
|
|
hidePluginInfo = true;
|
|
closeOnClick = true;
|
|
showResultsImmediately = false;
|
|
maxEntries = null;
|
|
};
|
|
extraCss = builtins.readFile ./style.css;
|
|
|
|
extraConfigFiles."applications.ron".text = builtins.readFile ./applications.ron;
|
|
extraConfigFiles."symbols.ron".text = builtins.readFile ./symbols.ron;
|
|
extraConfigFiles."websearch.ron".text = builtins.readFile ./websearch.ron;
|
|
};
|
|
}
|