refactor(anyrun): Now using anixrun
plugin
Thanks to the nix rewrite of the config
This commit is contained in:
parent
d50993c00f
commit
c1c601da96
1 changed files with 36 additions and 7 deletions
|
@ -1,9 +1,38 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
home.file = {
|
pkgs,
|
||||||
".config/anyrun".source = ../anyrun;
|
inputs,
|
||||||
};
|
...
|
||||||
|
}: {
|
||||||
home.packages = [
|
imports = [
|
||||||
pkgs.anyrun
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue