mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
31 lines
711 B
Nix
31 lines
711 B
Nix
{config, ...}: let
|
|
cfg = config.programs.anyrun;
|
|
in {
|
|
programs.anyrun = {
|
|
enable = false;
|
|
config = {
|
|
x = {fraction = 0.5;};
|
|
y = {fraction = 0.3;};
|
|
width = {fraction = 0.3;};
|
|
hideIcons = false;
|
|
ignoreExclusiveZones = false;
|
|
layer = "overlay";
|
|
hidePluginInfo = false;
|
|
closeOnClick = false;
|
|
showResultsImmediately = true;
|
|
maxEntries = null;
|
|
plugins = let
|
|
pluginNames = [
|
|
"applications"
|
|
"symbols"
|
|
"niri_focus"
|
|
"dictionary"
|
|
"rink"
|
|
"nix_run"
|
|
];
|
|
pluginLibs = map (p: "${cfg.package}/lib/lib${p}.so") pluginNames;
|
|
in
|
|
pluginLibs;
|
|
};
|
|
};
|
|
}
|