1
Fork 0
satellite/home/features/wayland/anyrun/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

{ inputs, pkgs, ... }: {
programs.anyrun = {
enable = true;
config = {
2023-08-19 21:13:34 +02:00
# {{{ Plugins
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
dictionary
rink
stdin
2023-08-19 21:13:34 +02:00
# symbols # Looks ugly atm
# websearch
# inputs.anyrun-nixos-options.packages.${pkgs.system}.default # Idk how to set this up :(
];
2023-08-19 21:13:34 +02:00
# }}}
# {{{ Geometry
x.fraction = 0.5;
y.fraction = 0.25;
width.fraction = 0.5;
2023-08-19 21:13:34 +02:00
# }}}
hidePluginInfo = true;
closeOnClick = true;
showResultsImmediately = true;
maxEntries = 7;
};
2023-08-19 21:13:34 +02:00
extraCss = null;
};
2023-08-19 21:13:34 +02:00
# # See [the readme](https://github.com/n3oney/anyrun-nixos-options) for anyrun-nixos-options.
# programs.anyrun.extraConfigFiles."nixos-options.ron".text = ''
# Config(
# options_path: "${config.system.build.manual.optionsJSON}/share/doc/nixos/options.json"
# )
# '';
# home.packages =
# let anyrunScript = name: plugin: pkgs.writeShellScriptBin "anyrun-${plugin}";
# in
# [ (anyrunScript "launch" "applications") ];
}