dotfiles/programs/anyrun/default.nix
2024-02-21 14:17:23 +03:00

35 lines
1,014 B
Nix

programs.anyrun = {
enable = true;
config = {
plugins = [
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
#inputs.anyrun.packages.${pkgs.system}.applications
#./some_plugin.so
"${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
];
width = { fraction = 0.3; };
position = "top";
verticalOffset = { absolute = 0; };
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
#extraCss = ''
# .some_class {
# background: red;
# }
#'';
extraConfigFiles."some-plugin.ron".text = ''
Config(
// for any other plugin
// this file will be put in ~/.config/anyrun/some-plugin.ron
// refer to docs of xdg.configFile for available options
)
'';
};